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

ISchedulerInplaceEditorEx.RollbackChanges Event

Raise this event to cancel changes and replace the modified value with the former value (a value before modification).

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.Core.dll

Declaration

event EventHandler RollbackChanges

Event Data

The RollbackChanges 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