Skip to main content
A newer version of this page is available. .

SchedulerControl.InplaceEditorShowing Event

Occurs every time an in-place editor is invoked when an end-user adds a new appointment or edits an existing appointment “in place”.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v21.2.dll

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public event InplaceEditorEventHandler InplaceEditorShowing

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.
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”.

Remarks

Important

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.

Example

This example demonstrates how to replace the standard in-place editor with a custom one via the SchedulerControl.InplaceEditorShowing event.

View Example

<dxsch:SchedulerControl Name="schedulerControl1" 
                        HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
                        InplaceEditorShowing="schedulerControl1_InplaceEditorShowing">
</dxsch:SchedulerControl>
See Also