简体   繁体   中英

Adding a wider icon to a WPF Window Titlebar

我想在WPF窗口标题栏中添加一个图标,但我的图标比标题栏接受的图标的固定大小要宽一些(16x16)有没有办法在标题栏中添加更宽的图标?

This is not possible, because Windows handles the standard window chrome. You have to do a custom window and replace the chrome. For example this or look at this .

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