Hello,is it possible to format the xamDateNavigator (apart from Highliting the day), like changing the foreground in red (saturdays and sundays, christmas ...)?
Best Regards
Roberto
Hello,
I have been looking into your question and I can suggest you look into the following link from our online documentation that shows the available brushes that you can modify :
http://help.infragistics.com/Help/Doc/WPF/2012.2/CLR4.0/html/InfragisticsWPF4.Controls.Editors.XamCalendar.v12.2~Infragistics.Controls.Editors.CalendarResourceId.html
and in the following forum thread where it is shown how to use them :
https://ko.infragistics.com/community/forums/f/ultimate-ui-for-wpf/64693/styling-xamdatenavigator
If you would like to highlight only Sunday and Saturday you can use the following code :
<ig:XamScheduleDataManager x:Name="dataManager"
DataConnector="{Binding ElementName=dataConnector}">
<ig:XamScheduleDataManager.Settings>
<ig:ScheduleSettings WorkDays="Sunday, Saturday"/>
</ig:XamScheduleDataManager.Settings>
</ig:XamScheduleDataManager>
Hello Nikolov,thank you for your answer.I guess that I explained myself badly, so I'll try to be more explicit giving you a more precise picture.
I am developing an application dedicated to school management, and I'm using your XamDateNavigator. Apart from highlighting the days with activities (function already accomplised) I would like to show all the vacation days in red (the xamdatenavigator should show the Sundays and other dates in red, while the black standard foreground color is for normal school days, and the highlighted black color is for schooldays with some particular activity in it.
The christmas school vacations in Italy are quite long (from december 20th to january 7th). I would like all those days to appear with a red foreground).
Is there a way to accomplish such a functionality?Roberto