Skip to main content
All docs
V25.1
  • TdxRibbonSkinSelectorCustomPlacePaletteOptions.ItemIconSize Property

    Specifies base palette chooser gallery item dimensions, in pixels.

    Declaration

    property ItemIconSize: TcxItemSize read; write;

    Property Value

    Type Description
    TcxItemSize

    Use ItemSize.Width and ItemSize.Height properties to explicitly define gallery item dimensions, in pixels at the current DPI.

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

    Remarks

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

    Property Values and Scaling

    ItemIconSize.Width and ItemIconSize.Height properties specify the base pixel dimensions of palette 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