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
210
how to get weekend day from Winschedule controls
posted

Hi , 

I am using 'UltraMonthViewMulti", "ultraCalendarLook" and "ultraCalendarInfo" controls.

 1. There is any option to set notes to below the days.

ultraCalendarLook1.DaysOfWeekLook[DayOfWeekEnum.Saturday].Appearance = ultraCalendarLook1.Appearances["WeekEndDay"];
ultraCalendarLook1.DaysOfWeekLook[DayOfWeekEnum.Sunday].Appearance = ultraCalendarLook1.Appearances["WeekEndDay"];

2. There is any option to get a month weekend days without looping.

3. UltraMonthViewMulti control have any option to enter  notes while clicking day itself.

kindly provide more information.
 

 

Parents
  • 69832
    Offline posted

    Sorry, but I am not sure I understood your first two questions. Notes are displayed by the UltraWeekView and UltraMonthViewSingle controls; when you add a note for a given date/owner, they are displayed in that day for that owner. One way to get Day objects for weekend days is to build a list of dates of the weekend days in a month, then create Day objects for those dates using the UltraCalendarInfo.GetDay method.

    Regarding you third question: UltraMonthViewMulti exposes a GetDayFromPoint method, which you can use in response to (for example) MouseClick to get a Day object, then add a member to the UltraCalendarInfo.Notes collection for that date. Note that UltraMonthViewMulti does not display notes.

Reply Children