Method AddSpeedBtn
AddSpeedBtn()
Adds an empty disabled SpeedButton to the control.
public virtual ObjectUniqueId AddSpeedBtn()
Returns
AddSpeedBtn(string?, SvgImage?, EventHandler?)
Adds SpeedButton to the control with svg image.
public virtual ObjectUniqueId AddSpeedBtn(string? text, SvgImage? image, EventHandler? action)
Parameters
text
stringItem text.
image
SvgImageItem image.
action
EventHandlerClick 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
stringItem text.
image
SvgImageItem image.
toolTip
stringItem tooltip.
action
EventHandlerClick 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
stringItem text.
imageSet
ImageSetItem image.
imageSetDisabled
ImageSetItem disabled image.
toolTip
stringItem tooltip.
action
EventHandlerClick 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
KnownButtonaction
EventHandler
Returns
AddSpeedBtn(params KnownButton[])
Adds array of known SpeedButton to the control.
public virtual ObjectUniqueId[] AddSpeedBtn(params KnownButton[] buttons)
Parameters
buttons
KnownButton[]
Returns
AddSpeedBtn(MessageBoxButtons)
Adds known SpeedButton to the control.
public virtual ObjectUniqueId[] AddSpeedBtn(MessageBoxButtons button)
Parameters
button
MessageBoxButtons