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