Skip to main content

DxScheduler.DataStorage Property

Specifies the Scheduler’s data source.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.2.dll

NuGet Package: DevExpress.Blazor


public DxSchedulerDataStorage DataStorage { get; set; }

Property Value

Type Description

The Scheduler’s data source.


Use the DataStorage property to bind DxScheduler to a data source.

To create a new data storage:


The DxSchedulerDataStorage object contains a built-in label and status collection. The scheduler uses built-in collections when label and status sources and mappings are not specified.

Scheduler - Week view

<DxScheduler StartDate="@DateTime.Today" DataStorage="@DataStorage">
    <DxSchedulerWeekView ShowWorkTimeOnly="true"></DxSchedulerWeekView>

@code {
    DxSchedulerDataStorage DataStorage = new DxSchedulerDataStorage() {
        AppointmentsSource = AppointmentCollection.GetAppointments(),
        AppointmentMappings = new DxSchedulerAppointmentMappings() {
            Type = "AppointmentType",
            Start = "StartDate",
            End = "EndDate",
            Subject = "Caption",
            AllDay = "AllDay",
            Location = "Location",
            Description = "Description",
            LabelId = "Label",
            StatusId = "Status",
            RecurrenceInfo = "Recurrence"

Run Demo: Scheduler — Week View

See Also