RibbonPageGroup.ItemTemplateSelector Property
In This Article
Gets or sets an object that chooses a template used to visualize objects stored as elements in the RibbonPageGroup.ItemLinksSource collection.
This is a dependency property.
Namespace: DevExpress.Xpf.Ribbon
Assembly: DevExpress.Xpf.Ribbon.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Data |
A System. |
#Remarks
To implement custom logic for choosing a template, you should create a System.Windows.Controls.DataTemplateSelector descendant, and override the System.Windows.Controls.DataTemplateSelector.SelectTemplate method. This method returns a data template for a specific object.
The ItemTemplateSelector property supports the MVVM design pattern.
See Also