Skip to main content

BarManager.BarTemplate Property

Gets or sets the template used to visualize objects stored as elements in the BarManager.BarsSource collection.

This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v22.2.dll

NuGet Package: DevExpress.Wpf.Core


public DataTemplate BarTemplate { get; set; }

Property Value

Type Description

A DataTemplate object that specifies the corresponding template.


The DataTemplate must be defined as a ContentControl with a Bar object as the content.

The BarTemplate property supports the MVVM design pattern. See MVVM Support to learn more.

See Also