IconsSystemWarning Property

Warning (small version for the summary) Gets an Icon instance that contains the Warning icon as it is displayed by the current operating system.
On Windows Vista and above sizes range from 16x16 to 256x256, on Windows XP the largest resolution is 48x48, and on Linux the icon has always 32x32 and 16x16 image sizes.

See the online help for the icon images.

Definition

Namespace: KGySoft.Drawing
Assembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 10.0.0-rc.1
C#
public static Icon SystemWarning { get; }

Property Value

Icon

Examples

On Windows 11 the icon contains 8 images from 16x16 to 256x256. The 32x32 and 16x16 ones look like this:
Warning 32x32 Windows 11Warning 16x16 Windows 11

On Windows 10 the icon contains 11 images from 16x16 to 256x256. The 32x32 and 16x16 ones look like this:
Warning 32x32 Windows 10Warning 16x16 Windows 10

On Windows Vista, Windows 7 and Windows 8 the icon contains 4 images from 16x16 to 256x256. The 32x32 and 16x16 ones look like this:
Warning 32x32 Windows VistaWarning 16x16 Windows Vista

  Note

The Warning property returns a similar icon, but with 3 additional resolutions.

On Windows XP the icon contains 3 images from 16x16 to 48x48. The 32x32 and 16x16 ones look like this:
Warning Windows XP 32x32Warning Windows XP 16x16

On Linux/Mono the icon contains the following 32x32 and 16x16 images:
Warning Linux/Mono 32x32Warning Linux/Mono 16x16

  Note

On Linux the .NET Core build mistakenly returns the SystemError icon, which is an issue in the SystemIcons implementation of .NET Core.

See Also