Skip to main content

OptionsCustomization.AllowAppointmentResize Property

Gets or set a value that specifies whether an end-user is allowed to change the time boundaries of appointments.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

public UsedAppointmentType AllowAppointmentResize { get; set; }

#Property Value

Type Description
UsedAppointmentType

A UsedAppointmentType enumeration value that specifies to which appointment's type the action can be applied.

#Property Paths

You can access the OptionsCustomization.AllowAppointmentResize property from the following objects:

Object Type Path to AllowAppointmentResize
SchedulerControl
.OptionsCustomization.AllowAppointmentResize

#Remarks

By default, end-users can drag the time boundaries of an appointment to change the appointment's start or end times. Use the AllowAppointmentResize property to control the availability of such functionality to end-users with respect to an appointment's specific type.

NOTE

If the AllowAppointmentResize property is set to UsedAppointmentType.Custom, then whether an end-user is allowed to change the time boundaries of appointments or not is decided in the SchedulerControl.AllowAppointmentResize event handler.

To see an example of using the OptionsCustomization.Allow* properties and handling the SchedulerControl.Allow* events, refer to How to: Set End-User Restrictions.

See Also