Bar

BarContainerControl.BarItemDisplayMode Property

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

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 residing in the current BarContainerControl.

Remarks

By default, bar items display glyphs specified by the BarItem.Glyph or BarItem.LargeGlyph property. Using the BarItemDisplayMode property, you can specify the items in the bars or tool bars residing in the current BarContainerControl will display the item content instead of glyphs, or display both. You can also override this setting for a particular bar or tool bar, using the Bar.BarItemDisplayMode or ToolBarControlBase.BarItemDisplayMode property, respectively.

See Also