Bar

RibbonGalleryBarItem.GalleryDropDown Property

Gets or sets the GalleryDropDown object, which is a control displaying a dropdown gallery.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DefaultValue(null)]
public GalleryDropDown GalleryDropDown { get; set; }
<DefaultValue(Nothing)>
Public Property GalleryDropDown As GalleryDropDown

Property Value

Type Default Description
GalleryDropDown

null

A GalleryDropDown control.

Remarks

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).

InPlaceGallery_DropdownGallery

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