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.v21.2.dll

Declaration

[DXCategory("Behavior")]
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