Table of Contents

Method AddTextBtn

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

AddTextBtn(string?, Action?)

Adds text only SpeedButton to the control.

public virtual ObjectUniqueId AddTextBtn(string? text = null, Action? action = null)

Parameters

text string

The button text.

action Action

The button click action.

Returns

ObjectUniqueId

AddTextBtn(string?, string?, EventHandler?)

Adds text only SpeedButton to the control.

public virtual ObjectUniqueId AddTextBtn(string? text = null, string? toolTip = null, EventHandler? action = null)

Parameters

text string

Item text.

toolTip string

Item tooltip.

action EventHandler

Click action.

Returns

ObjectUniqueId

ObjectUniqueId of the added item.