Skip to main content
All docs
V25.2
  • SchedulerAppointmentDragMode Enum

    Lists appointment drag & drop processing modes for the Scheduler component.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.2.dll

    Declaration

    public enum SchedulerAppointmentDragMode

    Members

    Name Description
    Auto

    Drag & drop operations are processed on the server or client based on the component configuration.

    Client

    Drag & drop operations are processed on client.

    Server

    Drag & drop operations are processed on the server.

    Related API Members

    The following properties accept/return SchedulerAppointmentDragMode values:

    Remarks

    The Scheduler component can process drag & drop operations on the client and server. To improve responsiveness, the component automatically uses client-side processing unless server-side processing is required.

    Use the AppointmentDragMode property to specify how to process drag & drop operations:

    Server
    All operations are processed on the server side.
    Client
    All operations are processed on the client side. Note:
    • Server-side events[1] are not raised.
    • Server-side processing is required to correctly render start and end times for templated appointments during drag-and-drop operations. When operations are processed on the client, the component displays a tooltip with this information instead of re-rendering the appointment.
    Auto
    All operations are processed:
    • On the server, if you handle server-side events[1] or use templated appointments.
    • On the client, if you do not handle server-side events[1] and do not use templated appointments.

    Run Demo

    Example

    The following code snippet sets AppointmentDragMode to Server:

    <DxScheduler @bind-StartDate="@StartDate"
                 DataStorage="@DataStorage" 
                 AppointmentDragMode="SchedulerAppointmentDragMode.Client">
        @* ... *@
    </DxScheduler>
    
    See Also