Table of Contents

Method AddSpeedBtnCore

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

AddSpeedBtnCore(string?, SvgImage?, string?, EventHandler?)

Adds SpeedButton to the control.

public virtual SpeedButton AddSpeedBtnCore(string? text, SvgImage? image = null, string? toolTip = null, EventHandler? action = null)

Parameters

text string

Item text.

image SvgImage

Item image.

toolTip string

Item tooltip.

action EventHandler

Click action.

Returns

SpeedButton

ObjectUniqueId of the added item.

AddSpeedBtnCore()

Adds an empty disabled SpeedButton to the control.

public virtual SpeedButton AddSpeedBtnCore()

Returns

SpeedButton

AddSpeedBtnCore(ItemKind, string?, ImageSet?, ImageSet?, string?, EventHandler?)

Adds SpeedButton to the control.

public virtual SpeedButton AddSpeedBtnCore(ToolBar.ItemKind itemKind, string? text, ImageSet? imageSet, ImageSet? imageSetDisabled, string? toolTip = null, EventHandler? action = null)

Parameters

itemKind ToolBar.ItemKind

Item kind.

text string

Item text.

imageSet ImageSet

Item image.

imageSetDisabled ImageSet

Item disabled image.

toolTip string

Item tooltip.

action EventHandler

Click action.

Returns

SpeedButton