Skip to main content

RibbonControl.Items Property

Provides access to categories and pages displayed in this RibbonControl.

Namespace: DevExpress.Xpf.Ribbon

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

NuGet Package: DevExpress.Wpf.Ribbon

Declaration

public RibbonItemCollection Items { get; protected set; }

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