Spread Windows Forms 10.0 Product Documentation
CancelAction Method


Cancels the current action in progress.
Syntax
'Declaration
 
Public Sub CancelAction() 
'Usage
 
Dim instance As UndoManager
 
instance.CancelAction()
public void CancelAction()
Remarks
This method is intended to be used in event handlers when an UndoAction raises an event that permits cancelling of the action. You can call this method and then use PerformUndoAction to do another UndoAction instead, but you must be sure to cancel the default processing in the event handler to prevent the original UndoAction that raised the event from doing its processing too.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

UndoManager Class
UndoManager Members

 

 


Copyright © GrapeCity, inc. All rights reserved.