[]
Represents the undo action for deleting a shape or child control.
public class DeleteChildObjectUndoAction : UndoAction, ICloneable
Public Class DeleteChildObjectUndoAction
Inherits UndoAction
Implements ICloneable
| 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. |
| 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. |
| 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. |