AppointmentModificationControllerBase.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.Native

Assembly: DevExpress.XtraScheduler.v20.2.Core.Desktop.dll

Declaration

public virtual bool CanEditResource { get; }
Public Overridable ReadOnly Property CanEditResource As Boolean

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 AppointmentModificationControllerBase.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).

See Also