Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想向 WPF 窗口标题栏添加一个图标,但我的图标比标题栏接受的图标的固定大小(16x16)宽一点有没有办法向标题栏添加更宽的图标?
这是不可能的,因为 Windows 处理标准窗口镶边。您必须做一个自定义窗口并更换镀铬。例如这个或看看这个。