Spread Windows Forms 6.0 Product Documentation
ChildChangeUndoAction Constructor(SheetView,ElementWindowless,Boolean)
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.UndoRedo Namespace > ChildChangeUndoAction Class > ChildChangeUndoAction Constructor : ChildChangeUndoAction Constructor(SheetView,ElementWindowless,Boolean)


sheetView
SheetView
shape
ElementWindowless
attachUIChangeCompleteHandler
True to attach a handler to the UIChangeComplete event to the shape (when shape is PSShape only)

Glossary Item Box

Creates a new undo action for changing the specified shape or cell note in the specified SheetView.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal sheetView As SheetView, _
   ByVal shape As ElementWindowless, _
   ByVal attachUIChangeCompleteHandler As Boolean _
)
Visual Basic (Usage)Copy Code
Dim sheetView As SheetView
Dim shape As ElementWindowless
Dim attachUIChangeCompleteHandler As Boolean
 
Dim instance As New ChildChangeUndoAction(sheetView, shape, attachUIChangeCompleteHandler)
C# 
public ChildChangeUndoAction( 
   SheetView sheetView,
   ElementWindowless shape,
   bool attachUIChangeCompleteHandler
)

Parameters

sheetView
SheetView
shape
ElementWindowless
attachUIChangeCompleteHandler
True to attach a handler to the UIChangeComplete event to the shape (when shape is PSShape only)

Remarks

This object saved undo state on construction, rather than during PerformUndoAction, since the shape object implements the user interface to make 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.