Skip to main content
A newer version of this page is available. .

AppointmentItemResizeEventArgs.Allow Property

Gets or sets whether the appointment can be resized.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v19.2.dll

Declaration

public bool Allow { get; set; }

Property Value

Type Description
Boolean

true, if resizing the appointment is allowed; otherwise, false.

Remarks

Set the Allow property to false and the Handled property to true in the SchedulerControl.AppointmentResize event handler to prevent the appointment from being resized.

Use the SchedulerControl.AllowAppointmentResize property or the SchedulerControl.CustomAllowAppointmentResize event to define a specific case when appointments can or cannot be resized.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Allow property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also