NavBarGroup.Header Property
Gets or sets the content of the group’s header. This is a dependency property.
Namespace: DevExpress.Xpf.NavBar
Assembly: DevExpress.Xpf.NavBar.v24.2.dll
NuGet Package: DevExpress.Wpf.NavBar
#Declaration
#Property Value
Type | Description |
---|---|
Object | The object to use for the group header. |
#Remarks
You can set the Header property to a string or any other object. In the latter case, you can provide a template to render this object via the NavBarGroup.HeaderTemplate and NavBarGroup.HeaderTemplateSelector or the NavBarViewBase.HeaderTemplate and NavBarViewBase.HeaderTemplateSelector properties.
To learn more, see the Group Content Model topic.
#Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Header property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.