Skip to main content
All docs
V23.2

TdxRibbonSkinSelectorCustomPlaceSkinOptions.ItemIconSize Property

Specifies the base dimensions (in pixels) of skin gallery items.

Declaration

property ItemIconSize: TdxSkinIconSize read; write; default sis16;

Property Value

Type Default Description
TdxSkinIconSize sis16

ItemIconSize.Width and ItemIconSize.Height properties explicitly define skin gallery item dimensions, in pixels at the current DPI.

The default gallery item dimensions (0) indicate that the Ribbon Skin Chooser component automatically calculates gallery item dimensions.

Remarks

Use ItemIconSize.Width and ItemIconSize.Height properties to explicitly define item dimensions in a skin chooser gallery.

Property Values and Scaling

ItemIconSize.Width and ItemIconSize.Height properties specify the base pixel dimensions of skin gallery items that correspond to the current DPI. The Ribbon Skin Selector component adjusts ItemIconSize.Width and ItemIconSize.Height property values according to the current scale factor change when the application window moves between screens with different DPI values or the current screen DPI changes.

Default Value

Default ItemIconSize.Width and ItemIconSize.Height property values are 0.

The default property values indicate that the Ribbon Skin Chooser component automatically calculates gallery item dimensions.

See Also