Property Icon
Icon
Gets or sets the icon for the window.
IconSet? Icon { get; set; }
Property Value
Remarks
A window's icon designates the picture that represents the window in the taskbar as well as the icon that is displayed for the control box of the window. If images of several sizes are contained within the ImageSet, the most fitting size is selected automatically.