SchedulerControl.InplaceEditorShowing Event

Occurs every time an in-place editor is invoked in place of the edited appointment.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.dll

Declaration

public event InplaceEditorEventHandler InplaceEditorShowing
Public Event InplaceEditorShowing As InplaceEditorEventHandler

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.

You can set the e.Handled property to true, to prevent the in-place editor from being displayed.

Examples

private void SchedulerControl1_InplaceEditorShowing(object sender, InplaceEditorEventArgs e) {
    e.InplaceEditorEx = new MyInplaceEditorControl(e.SchedulerInplaceEditorEventArgs);
}
See Also