Skip to main content

ISchedulerInplaceEditorEx.CommitChanges Event

Raise this event to save the modified value to the underlying data source.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.Core.Desktop.dll

Declaration

event EventHandler CommitChanges

Event Data

The CommitChanges event's data class is EventArgs.

Remarks

This example demonstrates how to change default keys used to close an appointment in-place editor. Create a custom in-place editor and override its TextBox_KeyDown method. This sample code specifies that the Ctrl+S shortcut saves changes and closes the editor, while the Ctrl+Z shortcut discards changes and closes the editor.

private void schedulerControl_InplaceEditorShowing(object sender, DevExpress.XtraScheduler.InplaceEditorEventArgs e)
{
    e.InplaceEditorEx = new MyInplaceEditor(e.SchedulerInplaceEditorEventArgs, e.Appointment);
}
See Also