Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RibbonControl.Items Property

Provides access to categories and pages displayed in this RibbonControl.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v24.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