Skip to main content

InDropDownGallery.SizeMode Property

Gets or sets how the Dropdown control that owns the current gallery can be resized.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public GallerySizeMode SizeMode { get; set; }

Property Value

Type Default Description
GallerySizeMode Default

A GallerySizeMode value that specifies the current size mode.

Available values:

Name Description

The same as the GallerySizeMode.None option.


A dropdown gallery cannot be resized.


A dropdown gallery can only be resized vertically.


Allows a dropdown gallery to be resized horizontally and vertically.


When a Dropdown control that owns a dropdown gallery is opened, its initial size is calculated based on the control’s contents (the contents of the dropdown gallery plus additional commands that have been added to the control’s ItemLinks collection). The SizeMode property can be used to enable the Dropdown control’s resizing feature. If the SizeMode property is set to Both the control can be resized both vertically and horizontally via the size grip displayed at the bottom of the dropdown.

See Also