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

BarItemLinkBase.BarItemDisplayMode Property

Gets or sets the link’s paint style. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public BarItemDisplayMode BarItemDisplayMode { get; set; }

Property Value

Type Description
BarItemDisplayMode

A BarItemDisplayMode value that specifies the link’s paint style.

Available values:

Name Description
Default

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).

Content

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

ContentAndGlyph

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

Remarks

The BarItem.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 BarItemDisplayMode property.

See Also