Table of Contents

Method ToggleTool

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

ToggleTool(int, bool)

Toggles a tool on or off.

public void ToggleTool(int toolId, bool state)

Parameters

toolId int

ID of a previously added tool.

state bool

If true, toggles the tool on, otherwise toggles it off.

Remarks

This does not cause any event to get emitted.