CalendarView.DisplayDate

From Jeremie Leroy - XOJO Controls Wiki
Revision as of 00:05, 30 April 2012 by Admin (Talk | contribs) (1 revision)

Jump to: navigation, search
Property (As Date)
aCalendarView.DisplayDate = newValue
or
DateValue = aCalendarView.DisplayDate


The currently displayed Date. Change the DisplayDate to change the current view.

Notes

If you assign a date using <rbcode> me.DisplayDate = aDate </rbcode> There is no need to refresh the CalendarView to show the selected date. However if you alter DisplayDate without assigning it a value, the CalendarView needs to be refreshed: <rbcode> //Change the month to December me.DisplayDate.Month = 12 me.Redisplay() //This refreshes the CalendarView </rbcode>