Occurs every time an in-place editor is invoked when an end-user adds a new appointment or edits an existing appointment "in place".
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:
|Appointment||Gets the appointment for which the event was raised. Inherited from AppointmentEventArgs.|
|Bounds||Gets or sets the width, height and location of the in-place editor.|
|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".|
You are viewing documentation for the legacy WPF Scheduler control. If you're starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.
Handle the InplaceEditorShowing event to replace a default in-place editor with a custom one. Use the InplaceEditorEventArgs.InplaceEditor property to specify the in-place editor to be displayed for editing an appointment. The processed appointment is identified via the AppointmentEventArgs.Appointment property of the InplaceEditorEventArgs object.
This example demonstrates how to replace the standard in-place editor with a custom one via the SchedulerControl.InplaceEditorShowing event.
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-customize-an-in-place-editor-e2864.
<dxsch:SchedulerControl Name="schedulerControl1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" InplaceEditorShowing="schedulerControl1_InplaceEditorShowing"> </dxsch:SchedulerControl>