Is it possible to style the NON worktime area's ?
eg:
timespan (00:00 - 09:00) color: redtimespan (12:00 - 13:00) color: graytimespan (17:00 - 00:00) color: red
EDIT:
I am working on a POC and managed to add appointments/resources run time. But connecting it to our database is proving very difficult. Are there any tutorials/examples available on how to bind the dayview to an SQL database. (Through WCF or other methods).
Otherwise this Proof Of Concept will end pretty soon, because I simply can't figure it out on time.Any help would be appreciated.
Hi,
I have a requirement wherein I need to display a chechbox for each of the timeslots. I have managed to display the checkbox via the timeslotPresenter. However, how can I bind this to a particular collection so as to retreive the ones that were checked/selected?
Can you please help...
Thanks,
Deven
In addition to retemplating you could also define a custom CalendarColorScheme. I attached a simple sample that does this. Specifically it derives from one of the color schemes we provided and just overrides the CreateBrush method to hand the working and non-working hour timeslot areas. Note, if you are using multiple groups then you may want to write your own color blend algorithm to calculate a color for these areas based on the base color that is passed in. That is what will happen in Outlook and also by default in our built in CalendarColorScheme.
You have to set style for TimeslotPresenter with triggers using its Start and End properties. Let me know if you need any further assistance on this.
Here you can find information about our WCFScheduleConnector, which you may use for binding to SQL database:
http://help.infragistics.com/NetAdvantage/WPF/2010.3/CLR4.0/?page=xamSchedule_Using_Connector_WCF.html
Hope this helps.
Diyan Dimitrov