Skip to main content
A newer version of this page is available. .

BaseGallery.ItemSize Property

Gets or sets the size of gallery items when item auto-sizing is disabled. The Width attribute is also in effect when the auto-height feature is enabled.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

public Size ItemSize { get; set; }

Property Value

Type Description
Size

The size of gallery items.

Remarks

The Width and Height attributes of the ItemSize property are in effect when item auto-sizing is disabled (the BaseGallery.ItemAutoSizeMode property is set to None). The Width attribute is also in effect when the auto-height feature is enabled (the BaseGallery.ItemAutoSizeMode property is set to Vertical).

See Also