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
templateTemplateControlTemplate which is used to get picture pixels.
needDisabledboolWhether to get pixels for disabled state of the template.
toolTipstringItem 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
imageImageSetNormal image.
imageDisabledImageSetDisable image.
toolTipstringItem tooltip.
ignoreSuggestedSizeboolWhether to ignore suggested size of the item's control.
Returns
- ObjectUniqueId
ObjectUniqueId of the added item.