DxCalendar<T>.VisibleDateChanged Event
Fires after the month and/or year in the calendar is changed.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public EventCallback<DateTime> VisibleDateChanged { get; set; }
Parameters
Type | Description |
---|---|
DateTime | A new visible date. |
Remarks
The VisibleDateChanged
event fires each time the VisibleDate property value changes.
<DxCalendar VisibleDateChanged="@((DateTime newValue) => OnVisibleDateChanged(newValue))">
</DxCalendar>
@code{
DateTime VisibleDate = new DateTime();
void OnVisibleDateChanged(DateTime visibleDate) {
VisibleDate = visibleDate;
}
}
See Also