windowsforms-devexpress-dot-xtrascheduler-dot-schedulercontrol-df65bb68.md
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.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
public event InplaceEditorEventHandler InplaceEditorShowing
Public Event InplaceEditorShowing As InplaceEditorEventHandler
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. |
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.
private void SchedulerControl1_InplaceEditorShowing(object sender, InplaceEditorEventArgs e) {
e.InplaceEditorEx = new MyInplaceEditorControl(e.SchedulerInplaceEditorEventArgs);
}
Private Sub SchedulerControl1_InplaceEditorShowing(ByVal sender As Object, ByVal e As InplaceEditorEventArgs)
e.InplaceEditorEx = New MyInplaceEditorControl(e.SchedulerInplaceEditorEventArgs)
End Sub
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.
this.schedulerControl1.InplaceEditorShowing += SchedulerControl1_InplaceEditorShowing;
}
AddHandler Me.schedulerControl1.InplaceEditorShowing, AddressOf SchedulerControl1_InplaceEditorShowing
End Sub
See Also
SchedulerOptionsCustomization.AllowInplaceEditor