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
textstringItem text.
imageSvgImageItem image.
toolTipstringItem tooltip.
actionEventHandlerClick 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
itemKindToolBar.ItemKindItem kind.
textstringItem text.
imageSetImageSetItem image.
imageSetDisabledImageSetItem disabled image.
toolTipstringItem tooltip.
actionEventHandlerClick action.