Skip to main content
A newer version of this page is available. .

DxCalendar<T>.VisibleDate Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.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