Back to Devexpress

RibbonControl.ItemTemplate Property

wpf-devexpress-dot-xpf-dot-ribbon-dot-ribboncontrol-94211e1b.md

latest1.5 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

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

Property Value

TypeDescription
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

RibbonControl Class

RibbonControl Members

DevExpress.Xpf.Ribbon Namespace