RibbonGalleryBarItem.DropDownMenuItems Property
Provides access to a collection of bar items whose links are displayed below the dropdown gallery.
Namespace: DevExpress.Xpf.Ribbon
Assembly: DevExpress.Xpf.Ribbon.v24.1.dll
NuGet Package: DevExpress.Wpf.Ribbon
Declaration
Property Value
Type | Description |
---|---|
DevExpress.Xpf.Bars.CommonBarItemCollection | A DevExpress.Xpf.Bars.CommonBarItemCollection object that owns bar items whose links are displayed below the dropdown gallery. |
Remarks
Starting from version 14.1, you can add elements to the RibbonGalleryBarItem‘s drop-down in two ways. The traditional way is to add bar item links to the RibbonGalleryBarItem.DropDownMenuItemLinks collection via the Add, AddRange or Insert methods. Use this approach if the link you want to add should have a caption or an icon that differs from its source item’s caption and glyph.
Otherwise, if you do not need to modify link properties, use the DropDownMenuItems collection to directly add a bar item to the QAT. In this case, the Ribbon control will automatically generate a link for the item added. This can significantly speed up your application development, since manual link creation for each bar item is no longer required.
See the RibbonGalleryBarItem.DropDownMenuItemLinks property for details.