Method SetIcon
| Edit this page View SourceSetIcon(Window, IconId)
Sets the icon for the window, using the specified icon ID.
Declaration
public static void SetIcon(this Window window, IconId iconId)
Parameters
Type | Name | Description |
---|---|---|
Window | window | Window |
IconId | iconId | The ID of the icon. |
SetIcon(Window, string)
Sets the icon for the window, using the specified icon path.
Declaration
public static void SetIcon(this Window window, string iconPath)
Parameters
Type | Name | Description |
---|---|---|
Window | window | Window |
string | iconPath | The path of the icon. |