Show / Hide Table of Contents

Method SetIcon

| Edit this page View Source

SetIcon(string)

Sets the icon displayed for the application's taskbar button.

Declaration
public void SetIcon(string iconPath)
Parameters
Type Name Description
string iconPath

The file path to the icon image to display on the taskbar button. The path must refer to a valid .ico image file.

| Edit this page View Source

SetIcon(IconId)

Sets the icon displayed for the application's taskbar window.

Declaration
public void SetIcon(IconId iconId)
Parameters
Type Name Description
IconId iconId

The identifier of the icon to display in the taskbar. Must be a valid IconId value.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX