Skip to main content

DxScheduler.StartDate Property

Specifies the Scheduler’s start date.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.1.dll

Declaration

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

Property Value

Type Description
DateTime

A DateTime object that specifies the Scheduler’s start date.

Remarks

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 @bind-StartDate="@(new DateTime(1990, 01, 07, 00, 00, 00))" DataStorage="@DataStorage">
    <DxSchedulerWeekView ShowWorkTimeOnly="true"></DxSchedulerWeekView>
</DxScheduler>

Scheduler - Start date

Run Demo: Scheduler — Week View

To track changes made to the StartDate property’s value, handle the StartDateChanged event.

See Also