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

RibbonControl.CategoryTemplate Property

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

Namespace: DevExpress.Xpf.Ribbon

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

Declaration

public DataTemplate CategoryTemplate { 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 RibbonPageCategory or RibbonDefaultPageCategory object as the content.

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

See Also