GalleryDropDownPopupMenu.Gallery Property
Gets or sets the gallery displayed by the GalleryDropDownPopupMenu. This is a dependency property.
Namespace: DevExpress.Xpf.Ribbon
Assembly: DevExpress.Xpf.Ribbon.v24.1.dll
NuGet Package: DevExpress.Wpf.Ribbon
Declaration
Property Value
Type | Description |
---|---|
Gallery | A Gallery object displayed by the current GalleryDropDownPopupMenu. |
Remarks
Use the Gallery property to specify the gallery of items for the GalleryDropDownPopupMenu.
The number of initially visible columns and rows in the gallery is specified by the GalleryDropDownPopupMenu.InitialVisibleColCount and GalleryDropDownPopupMenu.InitialVisibleRowCount properties, respectively.
To display bar item links below the gallery, see the inherited PopupMenu.ItemLinks property.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Gallery property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.