Note
When targeting .NET 7.0 or later versions this class is supported on Windows only.
public static class Icons
Public NotInheritable Class Icons
public ref class Icons abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Icons = class end
Application | ![]() |
Error | ![]() |
Information | ![]() |
Question | ![]() |
SecurityError | ![]() |
SecurityQuestion | ![]() |
SecurityShield | ![]() |
SecuritySuccess | ![]() |
SecurityWarning | ![]() |
Shield | ![]() |
SystemApplication | ![]() 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 | ![]() 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 | ![]() 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 | ![]() 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 | ![]() On Windows XP and on Linux this property returns the same icon as the SecurityError property. |
SystemSecurityQuestion | ![]() On Windows XP and on Linux this property returns the same icon as the SecurityQuestion property. |
SystemSecuritySuccess | ![]() On Windows XP and on Linux this property returns the same icon as the SecuritySuccess property. |
SystemSecurityWarning | ![]() On Windows XP and on Linux this property returns the same icon as the SecurityWarning property. |
SystemShield | ![]() 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 | ![]() 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 | ![]() |
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. |