Skip to main content

TdxRibbonGalleryBaseOptions.ItemSize Property

Specifies the height and width of gallery items.

Declaration

property ItemSize: TcxItemSize read; write;

Property Value

Type
TcxItemSize

Remarks

Use this property to scale items within dropdown galleries. The ItemSize.Height property also affects the height of in-Ribbon gallery items if the ItemSizeInRibbon property doesn’t otherwise specify it. The ItemSize.Width property doesn’t affect in-Ribbon gallery item width in any way.

Setting either the ItemSize.Height or ItemSize.Width property to 0 restores the original item size, which is determined by the item’s displayed content (image, caption, and description). By default, both these properties are set to 0.

See Also