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 中创建一个自定义窗口。为此,我想获取窗口标题的当前字体大小(无论用户在窗口颜色和外观设置中选择了什么)。是否有捷径可寻?
System.Drawing.SystemFonts.CaptionFont也许?
System.Drawing.SystemFonts.CaptionFont
一种方法是使用SystemFonts.CaptionFontSizeKey.
SystemFonts.CaptionFontSizeKey