Table of Contents

Class ToggleGroupCollapseCommand

Namespace
FlowGraph.Core.Commands
Assembly
FlowGraph.Core.dll

Command to toggle a group's collapsed state.

public class ToggleGroupCollapseCommand : IGraphCommand
Inheritance
ToggleGroupCollapseCommand
Implements
Inherited Members

Constructors

ToggleGroupCollapseCommand(Graph, string)

public ToggleGroupCollapseCommand(Graph graph, string groupId)

Parameters

graph Graph
groupId string

Properties

Description

Gets a human-readable description of the command.

public string Description { get; }

Property Value

string

Methods

Execute()

Executes the command.

public void Execute()

Undo()

Reverses the command (undo).

public void Undo()