Skip to main content
Bar

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public DataTemplate ItemTemplate { get; set; }

Property Value

Type Description
DataTemplate

A DataTemplate object that specifies the corresponding template.

Remarks

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