wpf-devexpress-dot-xpf-dot-navbar-dot-navbargroup-5b2d28ee.md
Gets or sets a value that specifies which property (NavBarGroup.Items or NavBarGroup.Content) defines the group’s content. This is a dependency property.
Namespace : DevExpress.Xpf.NavBar
Assembly : DevExpress.Xpf.NavBar.v25.2.dll
NuGet Package : DevExpress.Wpf.NavBar
public DisplaySource DisplaySource { get; set; }
Public Property DisplaySource As DisplaySource
| Type | Description |
|---|---|
| DisplaySource |
One of the DisplaySource enumeration values.
|
Available values:
| Name | Description |
|---|---|
| Items |
Specifies that group content is represented by the NavBarGroup.Items property.
| | Content |
Specifies that group content is represented by the NavBarGroup.Content property.
|
Use the DisplaySource property to control whether the group’s content is represented by items from the NavBarGroup.Items collection or by a custom content defined via the NavBarGroup.Content property. By default, the NavBarGroup.Items property is used to represent group contents.
To learn more, see the Group Content Model topic.
See Also