blazor-devexpress-dot-blazor-dot-dxscheduler-8905958f.md
Specifies the Scheduler’s start date.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[Parameter]
public DateTime StartDate { get; set; }
| Type | Description |
|---|---|
| DateTime |
A DateTime object that specifies the Scheduler’s start date.
|
The StartDate property specifies the visible date at Scheduler’s startup. To render the Scheduler correctly, the StartDate property needs to be updated in accordance with Scheduler’s UI component. To ensure this, enable two-way data binding for the StartDate property.
This example shows the start date set to January 7, 1990:
<DxScheduler StartDate="@(new DateTime(1990, 01, 07, 00, 00, 00))" DataStorage="@DataStorage">
<DxSchedulerWeekView ShowWorkTimeOnly="true"></DxSchedulerWeekView>
</DxScheduler>
Run Demo: Scheduler — Week View
To track changes made to the StartDate property’s value, handle the StartDateChanged event.
See Also