Table of Contents

Method AddStickyBtn

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

AddStickyBtn(string?, SvgImage?, string?, EventHandler?)

Adds sticky SpeedButton to the control.

public virtual ObjectUniqueId AddStickyBtn(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.

AddStickyBtn(string?, ImageSet?, ImageSet?, string?, EventHandler?)

Adds sticky SpeedButton to the control.

public virtual ObjectUniqueId AddStickyBtn(string? text, ImageSet? imageSet, ImageSet? imageSetDisabled, 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.