Skip to main content

TdxCustomRibbonGalleryOptions.ItemSizeInRibbon Property

Specifies the height and width of gallery items displayed within an in-Ribbon gallery.

Declaration

property ItemSizeInRibbon: TcxItemSize read; write;

Property Value

Type
TcxItemSize

Remarks

Use this property to scale items within in-Ribbon galleries. Setting either the ItemSizeInRibbon.Height or ItemSizeInRibbon.Width property to 0 restores the item size specified via the ItemSize property. By default, both ItemSizeInRibbon.Height and ItemSizeInRibbon.Width are set to 0.

If both the ItemSize and ItemSizeInRibbon properties are set to default values, the item size is determined by an item’s displayed content (image, caption, and description).

See Also