Class
GroupUndoableCommand

Undoable group action.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

cs-api-definition
public class GroupUndoableCommand : GraphCommandBase, ICommand

Inheritance: objectGraphCommandBaseGroupUndoableCommand

Implements: ICommand

Inherited Members GraphCommandBase.CanExecute(object)GraphCommandBase.NameGraphCommandBase.DiagramItem

Constructors

GroupUndoableCommand(IGroupService, string, IGroupable[])

Initializes a new instance of the GroupUndoableCommand class.

Declaration

cs-api-definition
public GroupUndoableCommand(IGroupService service, string groupName, IGroupable[] items)

Parameters

service

IGroupService

The service.

groupName

string

Name of the group.

items

IGroupable[]

The items.

Properties

Group

Gets the group.

Declaration

cs-api-definition
public IGroup Group { get; }

Property Value

IGroup

Methods

Execute(object)

Executes the specified state.

Declaration

cs-api-definition
public override void Execute(object state = null)

Parameters

state

object

Overrides GraphCommandBase.Execute(object)

Redo()

Executes and undoable action.

Declaration

cs-api-definition
public override void Redo()

Overrides GraphCommandBase.Redo()

Undo(object)

Unwinds an undoable action.

Declaration

cs-api-definition
public override void Undo(object state = null)

Parameters

state

object

Overrides GraphCommandBase.Undo(object)