Method AddSpeedBtnCore
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
stringItem text.
image
SvgImageItem image.
toolTip
stringItem tooltip.
action
EventHandlerClick action.
Returns
- SpeedButton
ObjectUniqueId of the added item.
AddSpeedBtnCore()
Adds an empty disabled SpeedButton to the control.
public virtual SpeedButton AddSpeedBtnCore()
Returns
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.ItemKindItem kind.
text
stringItem text.
imageSet
ImageSetItem image.
imageSetDisabled
ImageSetItem disabled image.
toolTip
stringItem tooltip.
action
EventHandlerClick action.