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 窗口,我将窗口顶部的 Aero Glass 扩展了大约 50 像素。我想保持标准的最小值。最大限度。和关闭按钮、标题文本和窗口图标。
我想在标题栏中间显示一些小图像(即图标)。我怎么能这样做?如果我将图像放在标题栏附近,WPF 将不会显示图像,我假设标题栏是非客户区。
查看 code.msdn.com上的WPF Chrome 项目。它在标题栏上绘制图像。