Skip to main content
All docs
V24.2

DxScheduler.AllowResizeAppointment Property

Specifies whether users can resize appointments.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(true)]
[Parameter]
public bool AllowResizeAppointment { get; set; }

Property Value

Type Default Description
Boolean true

true to allow users to resize appointments; otherwise, false.

Remarks

The Scheduler allows users to move and resize appointments to modify their start and end dates.

You can set the AllowResizeAppointment and AllowDragAppointment properties to false to prevent users from resizing and dragging appointments.

@using Data

<DxScheduler StartDate="@DateTime.Today"
             DataStorage="@DataStorage"
             AllowCreateAppointment="false"
             AllowEditAppointment="false"
             AllowDeleteAppointment="false">
    <DxSchedulerWeekView/>
</DxScheduler>

@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 - User Action Restriction

See Also