Back to Devexpress

DxCalendar<T>.VisibleDate Property

blazor-devexpress-dot-blazor-dot-dxcalendar-1-88fc721e.md

latest1.5 KB
Original Source

DxCalendar<T>.VisibleDate Property

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

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDescription
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.

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

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

DxCalendar<T> Class

DxCalendar<T> Members

DevExpress.Blazor Namespace