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

ISchedulerInplaceEditorEx.CommitChanges Event

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.Core.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