Skip to main content
A newer version of this page is available. .
Bar

BarStaticItem.ShowImageInToolbar Property

Gets or sets whether the item’s image is displayed when the item is positioned within a RibbonQuickAccessToolbar.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[DefaultValue(true)]
public virtual bool ShowImageInToolbar { get; set; }

Property Value

Type Default Description
Boolean **true**

true if the item’s image is displayed when the item is positioned within a RibbonQuickAccessToolbar; otherwise, false.

Remarks

This property is in effect when a bar item is positioned within a RibbonQuickAccessToolbar. If the property is set to false, the item’s image is not displayed. However, if this item is positioned within a RibbonControl or RibbonStatusBar, the item’s image will be still visible, even if the property is set to false.

By default, for each bar item within a RibbonQuickAccessToolbar, a default icon is displayed which is dependant upon the current skin. To set a custom image for an item, use the BarItem.Glyph and BarItem.ImageIndex properties.

See Also