Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
295
Setting font characteristic on UltraMonthViewMulti
posted

I am creating 'Appointments' that can be one of two different types of data. 

I am storing the 'data type' in the  Appointment.Tag property so I know what type of data each Appointment is. 

What I want to be able to do is set the ForeColor of the dates that have data.  For example, if I'm looking at the month of Sept in the MonthViewMulti control and there are 'Appointments' on the 3rd, 6th, and 15th for type A data, I want to show those dates in Yellow. Then if there are Appointments on the 8th, 13th, and 20th of type B data, I want to show that in Blue.

 

Parents
No Data
Reply
  • 69832
    Verified Answer
    Offline posted

    You can get a DayLook object using the UltraMonthViewMulti.CalendarLook.GetDayLook method (pass true for 'createfNull' param). Once you have the DayLook, you can set the DayLook.Appearance.ForeColor property to anything you like.

Children
No Data