Back to Devexpress

NavBarGroup.DisplaySource Property

wpf-devexpress-dot-xpf-dot-navbar-dot-navbargroup-5b2d28ee.md

latest2.1 KB
Original Source

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

NuGet Package : DevExpress.Wpf.NavBar

Declaration

csharp
public DisplaySource DisplaySource { get; set; }
vb
Public Property DisplaySource As DisplaySource

Property Value

TypeDescription
DisplaySource

One of the DisplaySource enumeration values.

|

Available values:

NameDescription
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

NavBarGroup Class

NavBarGroup Members

DevExpress.Xpf.NavBar Namespace