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 are depending on current DPI settings, on Windows XP and Linux the icon has always 32x32 and 16x16 image sizes. |
SystemError | ![]() On Windows Vista and above sizes are depending on current DPI settings, on Windows XP and Linux the icon has always 32x32 and 16x16 image sizes. |
SystemInformation | ![]() On Windows Vista and above sizes are depending on current DPI settings, on Windows XP and Linux the icon has always 32x32 and 16x16 image sizes. |
SystemQuestion | ![]() On Windows Vista and above sizes are depending on current DPI settings, on Windows XP and Linux the icon has always 32x32 and 16x16 image sizes. |
SystemShield | ![]() On Windows Vista and above sizes are depending on current DPI settings, on Windows XP the icon has always 48x48, 32x32 and 16x16 image sizes in three different color depths and in Linux (Mono) the icon contains a 29x32 and a 16x16 image. |
SystemWarning | ![]() On Windows Vista and above sizes are depending on current DPI settings, on Windows XP and 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 dual-resolution icons 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. |
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. |