EndUndoAction Method
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Ends a user-defined undo operation. All editing and fomatting changes made between BeginUndoAction and EndUndoAction belong to the undo operation. These changes are undone or redone in a single step.
Syntax
public void EndUndoAction();Public Sub EndUndoAction()Examples
The following example finishes the current compound undo action. The created object is then available to the surrounding document workflow.
textControl.EndUndoAction();
Console.WriteLine("Text Control is ready for use.");textControl.EndUndoAction()
Console.WriteLine("Text Control is ready for use.")