Spread Windows Forms 6.0 Product Documentation
CancelAction Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.UndoRedo Namespace > UndoManager Class : CancelAction Method


Glossary Item Box

Cancels the current action in progress.

Syntax

Visual Basic (Declaration) 
Public Sub CancelAction() 
Visual Basic (Usage)Copy Code
Dim instance As UndoManager
 
instance.CancelAction()
C# 
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.