[]
        
(Showing Draft Content)

FarPoint.Win.Chart.DeleteUndoAction

DeleteUndoAction Class

Represents an undo action for deleting an object. Object could be a label, legend, plot area or seriesInfo

Inheritance
DeleteUndoAction
Namespace: FarPoint.Win.Chart
Assembly: FarPoint.Win.Chart.dll
Syntax
public class DeleteUndoAction : UndoAction
Public Class DeleteUndoAction
    Inherits UndoAction

Constructors

Name Description
DeleteUndoAction(ChartModel, object)

Initializes a new instance of the DeleteUndoAction class.

Fields

Name Description
idx

The index of the object in its collection. It is used to restore the object to correct index in its collection.

model

Reference to the chart model from which the object is deleted.

obj

The object to be deleted.

Properties

Name Description
Index

Gets the index of the object in its collection. It is used to restore the object to correct index in its collection.

ObjectDeleted

Gets the object which is deleted.

Methods

Name Description
PerformUndoAction(object)

Performs the undo action.

SaveUndoState()

Saves undo state information.

Undo(object)

Undoes the action.