SchedulerControl.AppointmentResizeMode Property
Specifies how an appointment fits in the time cell(s) when modified by dragging its borders. This is a dependency property.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v18.2.dll
Declaration
public AppointmentDragResizeMode AppointmentResizeMode { get; set; }
Public Property AppointmentResizeMode As AppointmentDragResizeMode
Property Value
Type | Description |
---|---|
AppointmentDragResizeMode | One of the AppointmentDragResizeMode enumeration values indicating the appointment's resize mode. |
Remarks
Use the AppointmentResizeMode property to specify the position of appointment borders when the appointment is resized.
Set the AppointmentResizeMode property to SnapToCells to snap borders to time cells, and to Precise to place them to the exact position they are moved to.
IMPORTANT
The AppointmentResizeMode property value has effect only if the SnapToCell option (the DayViewBase.SnapToCellsMode property or the TimelineView.SnapToCellsMode property, depending on the View) is set to SnapToCellsMode.Never.
TIP
A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=T605963.