I want my RadTextBox to undo the current changes when the user hits the Esc key. I am using the OnKeyUp event of the RadTextBox.
However, unlike the standard Windows Forms text box, there is no Undo method on the RadTextBox. Really???
Curiously, there is a CanUndo property on the RadTextBox...
How do I get the behavior I want?
However, unlike the standard Windows Forms text box, there is no Undo method on the RadTextBox. Really???
Curiously, there is a CanUndo property on the RadTextBox...
How do I get the behavior I want?
private void radTextBox_Base_KeyUp(object sender, KeyEventArgs e){ if (e.KeyCode == Keys.Escape) (sender as RadTextBox).????}