A newer version of this page is available. Switch to the current version.

RibbonControl.ItemTemplate Property

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

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v19.2.dll

Declaration

public DataTemplate ItemTemplate { get; set; }

Property Value

Type Description
DataTemplate

A DataTemplate object that specifies the corresponding template.

Remarks

The DataTemplate must be defined as a ContentControl with a BarItem descendant as the content.

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

See Also