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.v20.2.dll


public DataTemplate BarTemplate { get; set; }
Public Property BarTemplate As DataTemplate

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