Back to Devexpress

DxSchedulerDataStorage.CreateAppointmentItem(Boolean) Method

blazor-devexpress-dot-blazor-dot-dxschedulerdatastorage-dot-createappointmentitem-x28-system-dot-boolean-x29.md

latest1.4 KB
Original Source

DxSchedulerDataStorage.CreateAppointmentItem(Boolean) Method

Creates a new appointment item.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public DxSchedulerAppointmentItem CreateAppointmentItem(
    bool withoutSource = false
)

Optional Parameters

NameTypeDefaultDescription
withoutSourceBooleanFalse

false to add the new appointment to the bound data source; true to use the new appointment within the internal Scheduler collections only.

|

Returns

TypeDescription
DxSchedulerAppointmentItem

A new appointment item with default settings.

|

Remarks

Use the CreateAppointmentItem method instead of the DxSchedulerAppointmentItem constructor to create a new appointment.

The CreateAppointmentItem method creates appointment mappings, custom fields, specifies a time zone, and performs other initialization procedures.

See Also

DxSchedulerDataStorage Class

DxSchedulerDataStorage Members

DevExpress.Blazor Namespace