New to Telerik UI for WinFormsStart a free 30-day trial

Undoable group action.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public class UngroupUndoableCommand : GraphCommandBase, ICommand

Inheritance: objectGraphCommandBaseUngroupUndoableCommand

Implements: ICommand

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

Constructors

Initializes a new instance of the UngroupUndoableCommand class.

C#
public UngroupUndoableCommand(IGroupService service, IGroup[] groups)
Parameters:serviceIGroupService

The service.

groupsIGroup[]

The groups.

Methods

Executes the specified state.

C#
public override void Execute(object state = null)
Parameters:stateobject

Overrides: GraphCommandBase.Execute(object)

Executes and undoable action.

C#
public override void Redo()

Overrides: GraphCommandBase.Redo()

Unwinds an undoable action.

C#
public override void Undo(object state = null)
Parameters:stateobject

Overrides: GraphCommandBase.Undo(object)