ClassGraphCommandBase
Class
Base implementation of the ICommand undo redo interface.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
cs-api-definition
public abstract class GraphCommandBase : ICommand
Inheritance: objectGraphCommandBase
Derived Classes:
Implements:
Constructors
GraphCommandBase(string)
Initializes a new instance of the GraphCommandBase class.
Declaration
cs-api-definition
protected GraphCommandBase(string name)
Parameters
name
The name.
GraphCommandBase(string, IDiagramItem)
Initializes a new instance of the GraphCommandBase class.
Declaration
cs-api-definition
protected GraphCommandBase(string name, IDiagramItem diagramItem)
Parameters
name
The name.
diagramItem
The graph item.
Properties
DiagramItem
Gets the graph item.
Methods
CanExecute(object)
Determines whether this instance can execute.
Execute(object)
Executes the specified state.
Declaration
cs-api-definition
public abstract void Execute(object state = null)
Parameters
state
Implements
Redo()
Executes and undoable action.
Declaration
cs-api-definition
public abstract void Redo()
Implements
Undo(object)
Unwinds an undoable action.
Declaration
cs-api-definition
public abstract void Undo(object state = null)
Parameters
state
Implements