OptionsCustomization.AllowInplaceEditor Property
Gets or sets a value that specifies whether an inplace editor can be activated for an appointment.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
Declaration
public UsedAppointmentType AllowInplaceEditor { get; set; }
Public Property AllowInplaceEditor As UsedAppointmentType
Property Value
| Type | Description |
|---|---|
| UsedAppointmentType | A UsedAppointmentType enumeration value that specifies the type of appointment to which the action can be applied. |
Property Paths
You can access the OptionsCustomization.AllowInplaceEditor property from the following objects:
| Object Type | Path to AllowInplaceEditor |
|---|---|
| SchedulerControl |
|
Remarks
By default, an inplace editor can be used by end-users to either create a new appointment (an inplace editor is activated after an end-user selects a time slot and starts typing in it) or edit an existing appointment's subject (an inplace editor is activated by either a single click on the selected appointment or pressing the F2 key when it's selected). Use the AllowInplaceEditor property to control the availability of such functionality to end-users with respect to an appointment's type.
NOTE
If the AllowInplaceEditor property is set to UsedAppointmentType.Custom, then whether an inplace editor can be activated for an appointment or not is decided in the SchedulerControl.AllowInplaceEditor event handler.
To see an example of using the OptionsCustomization.Allow* properties and handling the SchedulerControl.Allow* events, refer to How to: Set End-User Restrictions.