SchedulerControl.InplaceEditorShowing Event
Occurs every time an in-place editor is invoked in place of the edited appointment. This event is not cancelable. If you want to disable in-place editors for specific appointments, handle the AllowInplaceEditor event (this event fires when the AllowInplaceEditor property equals “Custom”).
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v22.2.dll
NuGet Package: DevExpress.Win.Scheduler
Declaration
Event Data
The InplaceEditorShowing event's data class is InplaceEditorEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Appointment | Gets the appointment for which the event was raised. Inherited from AppointmentEventArgs. |
InplaceEditor | Gets or sets the in-place editor which is invoked when an end-user adds a new appointment or edits an existing one “in place”. |
InplaceEditorEx | Gets or sets the in-place editor which is invoked when an end-user adds a new appointment or edits an existing one “in place”. |
SchedulerInplaceEditorEventArgs | Gets or sets the object that specifies the scheduler control instance and basic characteristics used to customize the inplace editor appearance and layout. |
Remarks
Handle the InplaceEditorShowing event, to show your own in-place editor, or customize the existing editor, displayed when the end-user edits an appointment in-place (also known as “inline editing”). Note that the current in-place editor object can be accessed via the InplaceEditorEventArgs.InplaceEditor property.
Example
private void SchedulerControl1_InplaceEditorShowing(object sender, InplaceEditorEventArgs e) {
e.InplaceEditorEx = new MyInplaceEditorControl(e.SchedulerInplaceEditorEventArgs);
}