Class Icon
Manages a native Windows Icon instance
Implements
Inherited Members
Namespace: WinUIEx
Assembly: WinUIEx.dll
Syntax
[CreateFromString(MethodName = "WinUIEx.Icon.FromFile")]
[Obsolete("Please use AppWindow.SetIcon to set icons or the IconId class type")]
public class Icon : IDisposable
Methods
| Name | Description |
|---|---|
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| Dispose(bool) | Disposes the icon |
| ~Icon() | |
| FromByteArray(byte[], uint) | Creates an icon from a raw icon byte array |
| FromFile(string) | Loads an icon from an .ico file. |