Back to Devexpress

NavBarGroup.NavPaneGroupButtonTemplate Property

wpf-devexpress-dot-xpf-dot-navbar-dot-navbargroup-26abf3e2.md

latest2.4 KB
Original Source

NavBarGroup.NavPaneGroupButtonTemplate Property

Gets or sets the template that defines the visualization of the group’s header represented within the group button panel. This is a dependency property.

Namespace : DevExpress.Xpf.NavBar

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

NuGet Package : DevExpress.Wpf.NavBar

Declaration

csharp
public DataTemplate NavPaneGroupButtonTemplate { get; set; }
vb
Public Property NavPaneGroupButtonTemplate As DataTemplate

Property Value

TypeDescription
DataTemplate

Type: DataTemplate

A data template. The default is a null reference ( Nothing in Visual Basic).

|

Remarks

The templates supplied by the DXNavBar control, allow you to completely replace the look and feel of its visual elements, while maintaining their existing behavior (see Templating View Elements to learn more).

If you have more than one NavPaneGroupButtonTemplate defined and you want to supply logic to programmatically choose and apply an appropriate DataTemplate, use the NavBarGroup.NavPaneGroupButtonTemplateSelector property.

See Also

NavPaneGroupButtonTemplateSelector

ActualNavPaneGroupButtonTemplateSelector

NavBarGroup Class

NavBarGroup Members

DevExpress.Xpf.NavBar Namespace