[]
        
(Showing Draft Content)

FarPoint.Win.Spread.UndoRedo.DeleteChildObjectUndoAction

DeleteChildObjectUndoAction Class

Represents the undo action for deleting a shape or child control.

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

Constructors

Name Description
DeleteChildObjectUndoAction()

Creates a new undo action for deleting a shape.

DeleteChildObjectUndoAction(SheetView, object)

Creates a new undo action for deleting the specified shape in the specified SheetView.

Fields

Name Description
bounds

Specifies the boundary of the child area

child

Specifies the child to be deleted.

index

Specifies the index of the child in its container before deleting.

sheetView

Specifies the sheet that contains the shape being deleted.

spreadView

Specifies the view that contains the sheet.

Methods

Name Description
PerformUndoAction(object)

Deletes the child.

SaveUndoState()

Saves the child object and its index (if it is a shape) before deletion.

ToString()

Returns a string that represents this object.

Undo(object)

Undoes deletion of a child object.