Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxRibbonGalleryBaseOptions.ItemSize Property

Specifies the height and width of gallery items.

#Declaration

Delphi
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