Back to Devexpress

RibbonControl.Items Property

wpf-devexpress-dot-xpf-dot-ribbon-dot-ribboncontrol-5d397944.md

latest2.2 KB
Original Source

RibbonControl.Items Property

Provides access to categories and pages displayed in this RibbonControl.

Namespace : DevExpress.Xpf.Ribbon

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

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

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

Property Value

TypeDescription
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

Ribbon Page

RibbonControl Class

RibbonControl Members

DevExpress.Xpf.Ribbon Namespace