Skip to main content

BarItem.BarItemDisplayMode Property

Gets or sets how links to the current bar item are displayed on-screen. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core


public BarItemDisplayMode BarItemDisplayMode { get; set; }

Property Value

Type Description

A BarItemDisplayMode value that specifies the required display mode.

Available values:

Name Description

A link is represented on-screen using default settings, and this is dependant on the position where the link is displayed (in a bar or menu).


A link is represented on-screen using the item’s BarItem.Content.


A link is represented on-screen using the item’s BarItem.Content and glyph (BarItem.Glyph or BarItem.LargeGlyph).


The BarItemDisplayMode property specifies the default display mode for all links that refer to the current item. To override this setting for individual links, use the BarItemLinkBase.BarItemDisplayMode property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the BarItemDisplayMode property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also