简体   繁体   中英

MahApps.metro how to add icon to title bar left corner

I seem to be having issue's getting a icon for my application to show up in the left corner of the window title bar. I already have one set for the program's .exe But to no avail everything I have tried is not setting a seperate icon specifically for the title bar. if you could help with some insight it would be much appreciated.

If you add your icon to the root project solution folder then you can use this icon by setting the Icon property for the window.

Icon="mahapps.metro.logo2.ico"

在此处输入图片说明

Hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM