Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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