Method AddPicture
AddPicture(SvgImage?, string?)
Adds PictureBox to the control.
public virtual ObjectUniqueId AddPicture(SvgImage? image = null, string? toolTip = null)
Parameters
Returns
- ObjectUniqueId
ObjectUniqueId of the added item.
AddPicture(TemplateControl, bool, string?)
Adds PictureBox to the control with contents created from the the specified template.
public virtual ObjectUniqueId AddPicture(TemplateControl template, bool needDisabled = false, string? toolTip = null)
Parameters
template
TemplateControlTemplate which is used to get picture pixels.
needDisabled
boolWhether to get pixels for disabled state of the template.
toolTip
stringItem tooltip.
Returns
AddPicture(ImageSet?, ImageSet?, string?, bool)
Adds PictureBox to the control.
public virtual ObjectUniqueId AddPicture(ImageSet? image = null, ImageSet? imageDisabled = null, string? toolTip = null, bool ignoreSuggestedSize = false)
Parameters
image
ImageSetNormal image.
imageDisabled
ImageSetDisable image.
toolTip
stringItem tooltip.
ignoreSuggestedSize
boolWhether to ignore suggested size of the item's control.
Returns
- ObjectUniqueId
ObjectUniqueId of the added item.