[]
        
(Showing Draft Content)

FarPoint.Win.Spread.UndoRedo.ChildChangeUndoAction

ChildChangeUndoAction Class

Represents the undo action for changing a shape.

Inheritance
ChildChangeUndoAction
Implements
Namespace: FarPoint.Win.Spread.UndoRedo
Assembly: FarPoint.Win.Spread.dll
Syntax
public class ChildChangeUndoAction : UndoAction, ICloneable
Public Class ChildChangeUndoAction
    Inherits UndoAction
    Implements ICloneable

Constructors

Name Description
ChildChangeUndoAction(SheetView, ElementWindowless)

Creates a new undo action for moving or sizing a child control.

ChildChangeUndoAction(SheetView, ElementWindowless, bool)

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

ChildChangeUndoAction(int, int, int, int, float)

Creates a new undo action for moving a shape or cell note in the specified direction, changing its width and height, and rotation angle (for shapes only).

ChildChangeUndoAction(Control, Rectangle, Rectangle)

Creates a new undo action for moving or sizing a child control.

Fields

Name Description
ctl

Specifies the child control.

dh

Specifies the height change.

dr

Specifies the rotation angle change.

dw

Specifies the width change.

dx

Specifies the horizontal change in position.

dy

Specifies the vertical change in position.

index

Specifies the index of the shape in the shape container before the change.

newBounds

Specifies the new boundary for the child control

oldBounds

Specifies the old boundary for the child control.

shape

Specifies the shape to be changed.

sheetView

Specifies the sheet that contains the shape being changed.

spreadView

Specifies the view that contains the sheet.

xmlAfter

Specifies the XML serialized state of the shape after the change.

xmlBefore

Specifies the XML serialized state of the shape before the change.

Methods

Name Description
PerformUndoAction(object)

Performs the shape change action.

SaveUndoState()

Saves the undo state before the change.

ToString()

Returns a string that represents this object.

Undo(object)

Undoes the shape change action.

Events

Name Description
UIChangeComplete

Occurs when the shape object raises its UIChangeComplete event.