CalendarSettings.VisibleDate Property
Gets or sets the date, representing the month and year currently displayed within the calendar.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Property Value
Type | Description |
---|---|
DateTime | A DateTime value specifying the month and year currently displayed within the calendar. |
Remarks
Use the VisibleDate property to specify the month and year currently displayed within the calendar. Note, that this property is used for display purposes only. It changes when an end user clicks the PrevMonth (NextMonth) or the PrevYear (NextYear) buttons, or selects a day that isn’t in the currently displayed month.
Changing this property has no effect on the value of the date editor. Use the CalendarSettings.SelectedDate (or CalendarSettings.SelectedDates) property for this purpose.