Table of Contents

Method AddSpeedBtn

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

AddSpeedBtn()

Adds an empty disabled SpeedButton to the control.

public virtual ObjectUniqueId AddSpeedBtn()

Returns

ObjectUniqueId

AddSpeedBtn(string?, SvgImage?, EventHandler?)

Adds SpeedButton to the control with svg image.

public virtual ObjectUniqueId AddSpeedBtn(string? text, SvgImage? image, EventHandler? action)

Parameters

text string

Item text.

image SvgImage

Item image.

action EventHandler

Click action.

Returns

ObjectUniqueId

ObjectUniqueId of the added item.

AddSpeedBtn(string?, SvgImage?, string?, EventHandler?)

Adds SpeedButton to the control.

public virtual ObjectUniqueId AddSpeedBtn(string? text, SvgImage? image, string? toolTip = null, EventHandler? action = null)

Parameters

text string

Item text.

image SvgImage

Item image.

toolTip string

Item tooltip.

action EventHandler

Click action.

Returns

ObjectUniqueId

ObjectUniqueId of the added item.

AddSpeedBtn(string?, ImageSet?, ImageSet?, string?, EventHandler?)

Adds SpeedButton to the control.

public virtual ObjectUniqueId AddSpeedBtn(string? text, ImageSet? imageSet, ImageSet? imageSetDisabled = null, string? toolTip = null, EventHandler? action = null)

Parameters

text string

Item text.

imageSet ImageSet

Item image.

imageSetDisabled ImageSet

Item disabled image.

toolTip string

Item tooltip.

action EventHandler

Click action.

Returns

ObjectUniqueId

ObjectUniqueId of the added item.

AddSpeedBtn(KnownButton, EventHandler?)

Adds known SpeedButton to the control.

public virtual ObjectUniqueId AddSpeedBtn(KnownButton button, EventHandler? action = null)

Parameters

button KnownButton
action EventHandler

Returns

ObjectUniqueId

AddSpeedBtn(params KnownButton[])

Adds array of known SpeedButton to the control.

public virtual ObjectUniqueId[] AddSpeedBtn(params KnownButton[] buttons)

Parameters

buttons KnownButton[]

Returns

ObjectUniqueId[]

AddSpeedBtn(MessageBoxButtons)

Adds known SpeedButton to the control.

public virtual ObjectUniqueId[] AddSpeedBtn(MessageBoxButtons button)

Parameters

button MessageBoxButtons

Returns

ObjectUniqueId[]