Scheduler
-
Please advise how to draw bars/rectangles depending upon the appointment we have entered in schedular.I 24 Listboxes for each hour in DayView now.
-
Please advise how to draw bars/rectangles depending upon the appointment we have entered in schedular.I 24 Listboxes for each hour in DayView now.
aruna_koride wrote:
depending upon the appointment we have entered in schedular.I 24
Can you be more specific. Not sure which product you are needing help on. What is the schedular? If that is a third party control, you would probably get much better help posting to the vendor, since we may not have that control. Have a nice day,
Cheers, Karl
» CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP ProfileJust a grain of sand on the worlds beaches.
-
Please advise how to draw bars/rectangles depending upon the appointment we have entered in schedular.I 24 Listboxes for each hour in DayView now.
-
aruna_koride wrote:
depending upon the appointment we have entered in schedular.I 24
Can you be more specific. Not sure which product you are needing help on. What is the schedular? If that is a third party control, you would probably get much better help posting to the vendor, since we may not have that control. Have a nice day,
Cheers, Karl
» CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP ProfileJust a grain of sand on the worlds beaches.
Hi Karl Its not 3rd party control.I am developing it.I have right now few Listboxes joined together to enter appointments, but i want to show boxes/bars same like outlook calendar if tasks are repeated instead of repeating the TEXT. Hope u understood. Please advise
-
http://www.beacosta.com/blog/?p=11[^]
Sincerely, -Ron
Hi Ron Thanks for the link.I will try to use it.
-
Hi Karl Its not 3rd party control.I am developing it.I have right now few Listboxes joined together to enter appointments, but i want to show boxes/bars same like outlook calendar if tasks are repeated instead of repeating the TEXT. Hope u understood. Please advise
I noticed a link was provided in a below reply. If this link does not help you, can you post an image or mock up of what you are trying to do? This will help us, help you.
Cheers, Karl
» CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP ProfileJust a grain of sand on the worlds beaches.
-
I noticed a link was provided in a below reply. If this link does not help you, can you post an image or mock up of what you are trying to do? This will help us, help you.
Cheers, Karl
» CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP ProfileJust a grain of sand on the worlds beaches.
Please see the link for an image of what iam trying to do http://www.codeproject.com/KB/selection/Calendardayview.aspx[^ Thanks in advance
-
Please see the link for an image of what iam trying to do http://www.codeproject.com/KB/selection/Calendardayview.aspx[^ Thanks in advance
You may want to consider using a Grid inside a ScrollViewer. The Grid provides a very easy way to have two rows per hour like the picture and then you can add columns as required for each of the actual schedules. The wrapping ScrollViewer allows you to contain the grid in a certain amount of space and then have the user scroll up and down. Then add child border controls that span the required number of Grid.Rows. For example, if you have a 2 hour appointment then you would add that border control and have its RowSpan property set to 4. You can style the border control any way you want. You can then add a TextBlock that displays the text of the appointment. If you have multi-line appoinments you can use some cool features of WPF inside your TextBlock to display formatted text. Check this very simple example out:
<TextBlock>
<Run FontWeight="Bold">Mole</Run> loves the managed heap<LineBreak />
I hope this helps you get started!
</TextBlock>Cheers, Karl
» CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP ProfileJust a grain of sand on the worlds beaches.
-
You may want to consider using a Grid inside a ScrollViewer. The Grid provides a very easy way to have two rows per hour like the picture and then you can add columns as required for each of the actual schedules. The wrapping ScrollViewer allows you to contain the grid in a certain amount of space and then have the user scroll up and down. Then add child border controls that span the required number of Grid.Rows. For example, if you have a 2 hour appointment then you would add that border control and have its RowSpan property set to 4. You can style the border control any way you want. You can then add a TextBlock that displays the text of the appointment. If you have multi-line appoinments you can use some cool features of WPF inside your TextBlock to display formatted text. Check this very simple example out:
<TextBlock>
<Run FontWeight="Bold">Mole</Run> loves the managed heap<LineBreak />
I hope this helps you get started!
</TextBlock>Cheers, Karl
» CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP ProfileJust a grain of sand on the worlds beaches.
Hi karl Thanks a lot for your advise.I will try it out :)