AppointmentDragEventArgs.ForceUpdateFromStorage Property
Gets or sets whether the View is forced to query appointments from the storage.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v22.2.Core.Desktop.dll
NuGet Package: DevExpress.Scheduler.CoreDesktop
Declaration
Property Value
Type | Description |
---|---|
Boolean | true to query appointments from storage; otherwise, false. |
Remarks
The ForceUpdateFromStorage property can be used to force the Scheduler view to update itself by querying appointments from the storage. To switch this behavior on, you should set the property value to true within the SchedulerControl.AppointmentDrag handler. By default, it is false.
To find a situation in which this property is useful, review the following code example which demonstrates how an appointment is repositioned to another date by dragging it to the DateNavigator control.
Tip
A complete sample project is available in the DevExpress Code Examples database at https://supportcenter.devexpress.com/ticket/details/e3893/appointment-drag-and-drop-to-datenavigator.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ForceUpdateFromStorage 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.