Skip to main content
A newer version of this page is available. .

NavBarGroup.CollapsedNavPaneItemsTemplate Property

Gets or sets the DataTemplate used to render items in the collapsed Navigation Pane. This is a dependency property.

Namespace: DevExpress.Xpf.NavBar

Assembly: DevExpress.Xpf.NavBar.v18.2.dll

Declaration

public DataTemplate CollapsedNavPaneItemsTemplate { get; set; }

Property Value

Type Description
DataTemplate

A DataTemplate object used to render items in the collapsed Navigation Pane.

Remarks

The CollapsedNavPaneItemsTemplate property supports the MVVM design pattern. Use this property to specify the DataTemplate used to render collapsed state items provided via the NavBarGroup.CollapsedNavPaneItemsSource collection. You can also supply several DataTemplates and use the NavBarGroup.CollapsedNavPaneItemsTemplateSelector property to provide a custom logic to chose the DataTemplate to apply.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CollapsedNavPaneItemsTemplate 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.

See Also