windowsforms-devexpress-dot-xtrabars-dot-ribbongallerybaritem.md
Gets or sets the GalleryDropDown object, which is a control displaying a dropdown gallery.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(null)]
public GalleryDropDown GalleryDropDown { get; set; }
<DefaultValue(Nothing)>
Public Property GalleryDropDown As GalleryDropDown
| Type | Default | Description |
|---|---|---|
| GalleryDropDown | null |
A GalleryDropDown control.
|
A RibbonGalleryBarItem object is used to display an In-Ribbon Gallery within a RibbonControl. When the bar item is displayed within a page group a Dropdown button is visible, which when clicked expands the In-Ribbon Gallery (the In-Ribbon Gallery is displayed as is within a popup window).
The GalleryDropDown property allows you to associate a Gallery Dropdown control (GalleryDropDown) with the bar item. This control is designed to display a gallery as a popup window. If a Gallery Dropdown is assigned to the GalleryDropDown property clicking the Dropdown button displays the Gallery Dropdown control, but not the In-Ribbon Gallery.
By default, the GalleryDropDown property is set to null , so a Gallery Dropdown control is not associated with the item.
See Also