This documentation is archived and is not being maintained.

SystemInformation.IconSize Property

Gets the default dimensions, in pixels, of an icon.

[Visual Basic]
Public Shared ReadOnly Property IconSize As Size
public static Size IconSize {get;}
public: __property static Size get_IconSize();
public static function get IconSize() : Size;

Property Value

A Size that specifies the default dimensions of an icon in pixels.


Use IconSize to determine the Windows default icon size. This property determines whether the size of icons displayed in your applications are consistent with icons displayed in Windows.

The icon size returned by this property represents the icon size for large icons.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SystemInformation Class | SystemInformation Members | System.Windows.Forms Namespace | SystemInformation | Size | IconSize