Occurs every time an in-place editor is invoked when an end-user adds a new appointment or edits an existing appointment “in place”.
NuGet Package: DevExpress.Wpf.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:
|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
<dxsch:SchedulerControl Name="schedulerControl1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" InplaceEditorShowing="schedulerControl1_InplaceEditorShowing"> </dxsch:SchedulerControl>
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the InplaceEditorShowing event.
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.