Note
When targeting .NET 7.0 or later versions this class is supported on Windows only.
public static class IconsPublic NotInheritable Class Iconspublic ref class Icons abstract sealed[<AbstractClassAttribute>]
[<SealedAttribute>]
type Icons = class end| Application |
Gets the Application icon displaying a window (Sizes: 256x256, 64x64, 48x48, 32x32, 24x24, 16x16)
|
| Error |
Gets the Error icon displaying a white "X" in a red circle (Sizes: 256x256, 64x64, 48x48, 32x32, 24x24, 20x20, 16x16)
|
| Information |
Gets the Information icon displaying a white "i" in a blue circle (Sizes: 256x256, 64x64, 48x48, 32x32, 24x24, 20x20, 16x16)
|
| Question |
Gets the Question icon displaying a white "?" in a blue circle (Sizes: 256x256, 64x64, 48x48, 32x32, 24x24, 20x20, 16x16)
|
| SecurityError |
Gets the Security Error icon displaying a red shield with a white "X" (Sizes: 256x256, 48x48, 32x32, 24x24, 16x16)
|
| SecurityQuestion |
Gets the Security Question icon displaying a blue shield with a white "?" (Sizes: 256x256, 48x48, 32x32, 24x24, 16x16)
|
| SecurityShield |
Gets the Security Shield icon displaying a blue-yellow shield (Sizes: 256x256, 128x128, 48x48, 32x32, 24x24, 16x16, 8x8)
|
| SecuritySuccess |
Gets the Security Success icon displaying a green shield with a white check (Sizes: 256x256, 48x48, 32x32, 24x24, 16x16)
|
| SecurityWarning |
Gets the Security Warning icon displaying a yellow shield with a black "!" (Sizes: 256x256, 48x48, 32x32, 24x24, 16x16)
|
| Shield |
Gets the Windows Shield icon displaying a red-green-blue-yellow shield (Sizes: 256x256, 128x128, 48x48, 32x32, 24x24, 16x16, 8x8)
|
| SystemApplication |
Gets an Icon instance that contains the
Application 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. |
| SystemError |
Gets an Icon instance that contains the
Error 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. |
| SystemInformation |
Gets an Icon instance that contains the
Information 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. |
| SystemQuestion |
Gets an Icon instance that contains the
Question 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. |
| SystemSecurityError |
Gets an Icon instance that contains the
Security Error icon as it is displayed by the current operating system.
On Windows XP and on Linux this property returns the same icon as the SecurityError property. |
| SystemSecurityQuestion |
Gets an Icon instance that contains the
Security Question icon as it is displayed by the current operating system.
On Windows XP and on Linux this property returns the same icon as the SecurityQuestion property. |
| SystemSecuritySuccess |
Gets an Icon instance that contains the
Security Success icon as it is displayed by the current operating system.
On Windows XP and on Linux this property returns the same icon as the SecuritySuccess property. |
| SystemSecurityWarning |
Gets an Icon instance that contains the
Security Warning icon as it is displayed by the current operating system.
On Windows XP and on Linux this property returns the same icon as the SecurityWarning property. |
| SystemShield |
Gets an Icon instance that contains the
Shield 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. |
| SystemWarning |
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. |
| Warning |
Gets the Warning icon displaying a black "!" in a yellow triangle (Sizes: 256x256, 64x64, 48x48, 32x32, 24x24, 20x20, 16x16)
|
| Combine(Bitmap) | Combines the provided images into a multi-resolution Icon instance. |
| Combine(Icon) | Combines the provided icons into a multi-resolution Icon instance. |
| Combine(IEnumerableBitmap) | Combines the provided images into a multi-resolution Icon instance. |
| Combine(IEnumerableIcon) | Combines the provided icons into a multi-resolution Icon instance. |
| Combine(Bitmap, Color) | Combines the provided images into a multi-resolution Icon instance. |
| Combine(Boolean, IEnumerableBitmap) | Combines the provided images into a multi-resolution Icon instance. |
| Combine(Boolean, IEnumerableIcon) | Combines the provided icons into a multi-resolution Icon instance. |
| Combine(Boolean, Bitmap) | Combines the provided images into a multi-resolution Icon instance. |
| Combine(Boolean, Icon) | Combines the provided icons into a multi-resolution Icon instance. |
| Combine(Bitmap, Color, Boolean) | Combines the provided images into a multi-resolution Icon instance. |
| FromExtension | Gets the system-associated icon of a file or an extension. |
| FromFile(String) | Extracts every icon from a file and returns them as separated Icon instances. |
| FromFile(String, SystemIconSize) | Extracts icons of the specified size from a file and returns them as separated Icon instances. |
| FromFile(String, Int32) | Extracts the icon with the specified integer identifier from a file. |
| FromStream(Stream) | Loads an Icon from the specified stream. |
| FromStream(Stream, Boolean) | Loads an Icon from the specified stream. |
| GetStockIcon | Tries to get a system stock icon. When there is no icon defined for provided id, or Windows version is below Vista, this method returns . On Windows XP use the predefined property members to retrieve system icons. |