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


action
Undo action
clearRedo
True to clear the redo stack (action is being performed), false otherwise (action is being undone)

Glossary Item Box

Pushes the specified action onto the undo stack.

Syntax

Visual Basic (Declaration) 
Protected Sub PushUndo( _
   ByVal action As UndoAction, _
   ByVal clearRedo As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As UndoManager
Dim action As UndoAction
Dim clearRedo As Boolean
 
instance.PushUndo(action, clearRedo)
C# 
protected void PushUndo( 
   UndoAction action,
   bool clearRedo
)

Parameters

action
Undo action
clearRedo
True to clear the redo stack (action is being performed), false otherwise (action is being undone)

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.