Skip to main content
You are viewing help content for pre-release software. This document and the features it describes are subject to change.
All docs
V26.2
  • Icon.Size Property

    Gets or sets the icon size.

    Namespace: DevExpress.IconLibrary

    Assembly: DevExpress.Data.v26.2.dll

    Declaration

    public IconSize Size { get; set; }

    Property Value

    Type Description
    IconSize

    The icon size.

    Available values:

    Name Description
    Default

    The control automatically selects the icon size best suited to control type and dimensions.

    Size12

    12x12 pixels.

    Size16

    16x16 pixels.

    Size20

    20x20 pixels.

    Size24

    24x24 pixels.

    Size28

    28x28 pixels.

    Size32

    32x32 pixels.

    Size48

    48x48 pixels.

    Remarks

    If you do not specify icon size, the control automatically selects the size based on the control’s type and dimensions or the ImageOptions.SvgImageSize property value.

    Note

    Available combinations of palettes and sizes differ for individual icons.

    See Also