NavBarItemControl.DisplayMode Property

Gets or sets whether the NavBarItemControl displays text, icon, or both icon and text. This is a dependency property.

Namespace: DevExpress.Xpf.NavBar

Assembly: DevExpress.Xpf.NavBar.v21.1.dll

Declaration

public DisplayMode DisplayMode { get; set; }

Property Value

Type Description
DisplayMode

A DisplayMode enumeration value that specifies whether the NavBarItemControl displays text, icon, or both icon and text.

Available values:

Name Description
ImageAndText

Both text and an image are used to represent the content of the related content element (an item or group header).

Image

Only an image is used to represent the content of the related content element (an item or group header); the text is not displayed.

Text

Only text is used to represent the content of the related content element (an item or group header); the image is not displayed, if any.

Default

Acts identically to the ImageAndText value.

Remarks

See the NavBarItem.DisplayMode property for details.

See Also