Table of Contents

Method AddLabel

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

AddLabel(string, int)

Adds a text label to the toolbar.

public int AddLabel(string label, int width = -1)

Parameters

label string

The string to be displayed with the tool.

width int

Tool width or -1 for auto width. Optional parameter.

Returns

int

An int by which the tool may be identified in subsequent operations.