Skip to main content

DxCalendar<T>.VisibleDate Property

Specifies the month and the year to display on the calendar.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public DateTime VisibleDate { get; set; }

Property Value

Type Description
DateTime

A DateTime object that specifies the visible date.

Remarks

Use the property to navigate to the specified month and year. VisibleDate does not select a date. To select the date, specify the SelectedDate property.

<DxCalendar T="DateTime" VisibleDate="@DateTime.Today"></DxCalendar>

Calendar Visible Date

Note

The Calendar displays the specified date even if it is out of a date range.

To respond to changes to the month and/or year, handle the VisibleDateChanged event.

See Also