Hi,
We're using UltraMonthViewSingle to display a month and would like to change they way the trailing days are being displayed.
Specifically, make them a bit more grayish, or change their backcolor a bit.
Is this possible?
Thanks!
Ziv
Hello Ziv,
Thank you for contacting Infragistics!
You can achieve this by setting up a UltraCalendarLook and setting the TrailingDataAppearance settings and then setting the CalendarLook property of the UltaMonthViewSingle:https://ko.infragistics.com/help/winforms/infragistics.win.ultrawinschedule~infragistics.win.ultrawinschedule.ultracalendarlook~trailingdayappearance
Hi Mike,
I tried that but it didn't do anything on the UltraMonthViewSingle.
From your documentation it clearly states:
"The only controls which utilize this setting are the UltraMonthViewMulti and UltraCalendarCombo"
Am I missing something?
Thank you for the update. Upon further review it appears that isn’t the way to change the appearance of the trailing days. I am currently discussing this with my team to see if this can be achieved in another way. I will continue to look into this matter and will update you with my progress.
This seems very hard coded and unfriendly.
Is this the best thing we can do?
Thanks,
Thank you for your patience. After discussing this further with my team you can achieve this by changing the appearance for the DaysOfTheYearLook off the CalendarLook of the UultraMonthViewSingle:
ultraMonthViewSingle1.CalendarLook = ultraCalendarLook1;
ultraCalendarLook1.DaysOfYearLook[12, 1].Appearance.BackColor = Color.Black;ultraCalendarLook1.DaysOfYearLook[10, 31].Appearance.BackColor = Color.Black;