A newer version of this page is available. Switch to the current version.

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.v18.2.dll

Declaration

public DateTime VisibleDate { get; set; }
Public Property VisibleDate As Date

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.

See Also