Skip to main content
Tab

ASPxCalendar.VisibleDate Property

Gets or sets the date, representing the month and year currently displayed within the calendar.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(typeof(DateTime), "")]
public DateTime VisibleDate { get; set; }

Property Value

Type Default Description
DateTime String.Empty

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. Performing such actions fires the ASPxClientCalendar.VisibleMonthChanged (ASPxCalendar.VisibleMonthChanged) event.

Changing this property has no effect on the ASPxEditBase.Value property of the date editor. Use the ASPxCalendar.SelectedDate property for this purpose.

See Also