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


Glossary Item Box

Saves undo state before change.

Syntax

Visual Basic (Declaration) 
Protected Overrides Function SaveUndoState() As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ChildChangeUndoAction
Dim value As Boolean
 
value = instance.SaveUndoState()
C# 
protected override bool SaveUndoState()

Return Value

Boolean: true if successful; false otherwise

Remarks

This object saves undo state on construction, rather than during PerformUndoAction, since the shape object implements the user interface to make the changes to itself. The SpreadView will call PerformUndoAction when the shape's UIChangeComplete event fires and edit mode is off (if the shape is a cell note).

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.