RibbonControl.Items Property

Provides access to categories and pages displayed in this RibbonControl.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v20.1.dll

Declaration

public RibbonItemCollection Items { get; protected set; }
Public Property Items As RibbonItemCollection

Property Value

Type Description
DevExpress.Xpf.Ribbon.Internal.RibbonItemCollection

A DevExpress.Xpf.Ribbon.Internal.RibbonItemCollection collection that stores categories and pages displayed in this RibbonControl.

Remarks

You can add RibbonPage and RibbonPageCategory to the Items collection.

You can place the default category pages directly within RibbonControl content without the necessity to declare a RibbonDefaultPageCategory.

The RibbonControl class has the System.Windows.Markup.ContentPropertyAttribute attribute that marks the Items property as the XAML content property. So in XAML, ribbon pages and ribbon page categories defined between the RibbonControl start and end tags will be added to the current Items collection.

See Also