Set the icon of a window in WPF
May 30, 2010 Example Codes
Setting the Icon of a window in WPF is very simple! In your window xaml, you need to put the filename of your icon file in icon attribute, like the following:
Moreover, please the properties in the icon file. The build action sets to be "Content" and Copy to output directory sets to "Always".
Trackback address for this post
Feedback awaiting moderation
This post has 12 feedbacks awaiting moderation...
Form is loading...