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.v20.1.dll

Declaration

[DXCategory("Layout")]
[DefaultValue(GallerySizeMode.Default)]
public GallerySizeMode SizeMode { get; set; }
<DXCategory("Layout")>
<DefaultValue(GallerySizeMode.Default)>
Public Property SizeMode As GallerySizeMode

Property Value

Type Default Description
GallerySizeMode

Default

A GallerySizeMode value that specifies the current size mode.

Remarks

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