Back to Devexpress

AppointmentDragResizeMode Enum

wpf-devexpress-dot-xpf-dot-scheduling-9cf49fd9.md

latest2.9 KB
Original Source

AppointmentDragResizeMode Enum

Lists modes which determine how an appointment fits in the time cell when dragging or resizing.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public enum AppointmentDragResizeMode
vb
Public Enum AppointmentDragResizeMode

Members

NameDescription
SnapToCell

Appointment Start and End borders are snapped to time cells which forces the end-user to set the time interval round to the nearest value determined by the DayViewBase.TimeScale property.

| | Precise |

Appointment moves smoothly, its Start and End borders are moved pixel by pixel which enables the end-user to set the time interval precisely.

|

The following properties accept/return AppointmentDragResizeMode values:

Remarks

Enumeration values are used for the SchedulerControl.AppointmentDragMode and SchedulerControl.AppointmentResizeMode properties.

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

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.

wpf-scheduler-process-appointment-drag-drop-resize-operations/CS/SchedulerDragDropResizeExample/MainWindow.xaml#L29

xml
EditValue="{DXBinding '@e(scheduler).AppointmentDragMode', UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
                      ItemsSource="{dxe:EnumItemsSource EnumType=dxsch:AppointmentDragResizeMode}" />
</dxlc:LayoutItem>

See Also

DevExpress.Xpf.Scheduling Namespace