Skip to main content

NavBarGroup.DisplaySource Property

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.v24.2.dll

NuGet Package: DevExpress.Wpf.NavBar

Declaration

public DisplaySource DisplaySource { get; set; }

Property Value

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.

Remarks

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