NavBarItem.Content Property
Gets or sets the item’s content. This is a dependency property.
Namespace: DevExpress.Xpf.NavBar
Assembly: DevExpress.Xpf.NavBar.v24.1.dll
NuGet Package: DevExpress.Wpf.NavBar
Declaration
Property Value
Type | Description |
---|---|
Object | An object specifying the item’s content. |
Remarks
Use the Content property to define the content of the item.
Note
The Content property is, by design, specified as the default property and the content property of an item. This, for example, allows you to declare item contents in XAML directly after an item declaration, without wrapping them into opening and closing NavBarItem.Content tags.
See the Item Content Model topic to learn more.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Content 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.