Table of Contents

Method EnableTool

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

EnableTool(int, bool)

Enables or disables the tool.

public void EnableTool(int toolId, bool state)

Parameters

toolId int

ID of the tool to enable or disable.

state bool

If true, enables the tool, otherwise disables it.

Remarks

Some implementations will change the visible state of the tool to indicate that it is disabled.