ToolBarControlBase.ItemTemplate Property

Gets or sets the template used to visualize elements stored in the ToolBarControlBase.ItemsSource collection. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v20.1.dll


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

Property Value

Type Description

A DataTemplate object that specifies the corresponding template.


The ItemTemplate property supports the MVVM design pattern. The DataTemplate must be defined as a ContentControl with a BarItem object descendant as the content. See MVVM Support to learn more.

See Also