Back to Devexpress

NavBarViewBase.GroupDisplayMode Property

wpf-devexpress-dot-xpf-dot-navbar-dot-navbarviewbase-4713fe0e.md

latest2.4 KB
Original Source

NavBarViewBase.GroupDisplayMode Property

Gets or sets whether NavBarGroups within the current NavBarViewBase should display their text, icon, or both icon and text.

Namespace : DevExpress.Xpf.NavBar

Assembly : DevExpress.Xpf.NavBar.v25.2.dll

NuGet Package : DevExpress.Wpf.NavBar

Declaration

csharp
public DisplayMode GroupDisplayMode { get; set; }
vb
Public Property GroupDisplayMode As DisplayMode

Property Value

TypeDescription
DisplayMode

A DisplayMode enumerator value that specifies whether NavBarGroups within the current NavBarViewBase should display their text, icon, or both icon and text.

|

Available values:

NameDescription
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

The GroupDisplayMode property affects all NavBarGroups within a View. Use the NavBarGroup.DisplayMode property instead to specify a display mode for individual Groups.

See Styling View Content Elements for more information.

See Also

DisplayMode

NavBarViewBase Class

NavBarViewBase Members

DevExpress.Xpf.NavBar Namespace