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.v24.2.dll
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);
}
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the InplaceEditorShowing event.
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.