ISchedulerAppointmentActions.CreateAppointmentAsync(DateTime, DateTime, Boolean, Object) Method
In This Article
Creates a new appointment for the Scheduler, but does not save it to a data source.’
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
C#
Task<DxSchedulerAppointmentItem> CreateAppointmentAsync(
DateTime start,
DateTime end,
bool allDay,
object resourceId
)
#Parameters
Name | Type | Description |
---|---|---|
start | Date |
Specifies the appointment’s start date. |
end | Date |
Specifies the appointment’s end date. |
all |
Boolean | Specifies whether the appointment is scheduled for the entire day or several days. |
resource |
Object | Specifies the identifier of the resource object associated with the appointment. |
#Returns
Type | Description |
---|---|
Task<Dx |
An asynchronous operation that returns the created appointment. Returns |
#Remarks
Refer to the DxScheduler.CreateAppointmentAsync description for more information and an example.
See Also