AppointmentFormControllerBase.CanEditResource Property
Gets a value that indicates whether the resource can be changed for the appointment which is currently being edited in the form.
Namespace: DevExpress.XtraScheduler.UI
Assembly: DevExpress.XtraScheduler.v24.1.Core.Desktop.dll
NuGet Package: DevExpress.Scheduler.CoreDesktop
Declaration
Property Value
Type | Description |
---|---|
Boolean | true if the appointment’s resource can be changed; otherwise, false. |
Remarks
Resources can be edited only for a base appointment (a base appointment is either AppointmentType.Normal or AppointmentType.Pattern) and which is either a newly created one (its AppointmentFormControllerBase.IsNewAppointment property’s value is set to true) or which belongs to a particular appointments collection of the Scheduler control and the control’s appointments can be dragged between resources (SchedulerOptionsCustomization.AllowAppointmentDragBetweenResources property).
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CanEditResource 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.