Class
UngroupUndoableCommand

Undoable group action.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

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

Inheritance: objectGraphCommandBaseUngroupUndoableCommand

Implements: ICommand

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

Constructors

UngroupUndoableCommand(IGroupService, IGroup[])

Initializes a new instance of the UngroupUndoableCommand class.

Declaration

cs-api-definition
public UngroupUndoableCommand(IGroupService service, IGroup[] groups)

Parameters

service

IGroupService

The service.

groups

IGroup[]

The groups.

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)