BarStaticItem.ShowImageInToolbar Property
Gets or sets whether to display the item’s image when the item is positioned in a RibbonQuickAccessToolbar or page header.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Remarks
Use the ShowImageInToolbar
property to temporarily hide an item’s image when the item (a bar item link) is displayed in a Quick Access Toolbar or page header.
/* Temporarily hides a bar item's image when the bar item is displayed
* in the Quick Access Toolbar or page header.
*/
barStaticItemB.ShowImageInToolbar = false;
barStaticItemC.ShowImageInToolbar = false;
The Ribbon Control displays the default icon/image for a bar item without a specified image when it is displayed in the Quick Access Toolbar or page header.
Use the ImageOptions property to specify an image(s) and its display settings.