Bar.BarItemDisplayMode Property

Gets or sets whether the content, glyph or both are displayed in the bar items.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public BarItemDisplayMode BarItemDisplayMode { get; set; }
Public Property BarItemDisplayMode As BarItemDisplayMode

Property Value

Type Description
BarItemDisplayMode

A BarItemDisplayMode enumeration value that specifies whether the content, glyph or both are displayed in the bar items.

Remarks

By default, if a bar item's glyph is specified using the BarItem.Glyph or BarItem.LargeGlyph property, it is displayed in the item. If the glyph is not specified, the bar item displays its content. Using the BarItemDisplayMode property, you can specify that the current bar will display the item content instead of glyphs, or display both.

You can override this setting for a particular item using the BarItem.BarItemDisplayMode property. You can also specify the global setting common to all bars residing in a particular BarContainerControl, using the BarContainerControl.BarItemDisplayMode property.

See Also