39 references to NonClientMetrics
PresentationFramework (39)
System\Windows\SystemFonts.cs (30)
101
return ConvertFontHeight(SystemParameters.
NonClientMetrics
.lfCaptionFont.lfHeight);
115
_captionFontFamily = new FontFamily(SystemParameters.
NonClientMetrics
.lfCaptionFont.lfFaceName);
130
return (SystemParameters.
NonClientMetrics
.lfCaptionFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
142
return FontWeight.FromOpenTypeWeight(SystemParameters.
NonClientMetrics
.lfCaptionFont.lfWeight);
158
if (SystemParameters.
NonClientMetrics
.lfCaptionFont.lfUnderline != 0)
163
if (SystemParameters.
NonClientMetrics
.lfCaptionFont.lfStrikeOut != 0)
181
return ConvertFontHeight(SystemParameters.
NonClientMetrics
.lfSmCaptionFont.lfHeight);
195
_smallCaptionFontFamily = new FontFamily(SystemParameters.
NonClientMetrics
.lfSmCaptionFont.lfFaceName);
210
return (SystemParameters.
NonClientMetrics
.lfSmCaptionFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
222
return FontWeight.FromOpenTypeWeight(SystemParameters.
NonClientMetrics
.lfSmCaptionFont.lfWeight);
238
if (SystemParameters.
NonClientMetrics
.lfSmCaptionFont.lfUnderline != 0)
243
if (SystemParameters.
NonClientMetrics
.lfSmCaptionFont.lfStrikeOut != 0)
262
return ConvertFontHeight(SystemParameters.
NonClientMetrics
.lfMenuFont.lfHeight);
275
_menuFontFamily = new FontFamily(SystemParameters.
NonClientMetrics
.lfMenuFont.lfFaceName);
289
return (SystemParameters.
NonClientMetrics
.lfMenuFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
300
return FontWeight.FromOpenTypeWeight(SystemParameters.
NonClientMetrics
.lfMenuFont.lfWeight);
315
if (SystemParameters.
NonClientMetrics
.lfMenuFont.lfUnderline != 0)
320
if (SystemParameters.
NonClientMetrics
.lfMenuFont.lfStrikeOut != 0)
338
return ConvertFontHeight(SystemParameters.
NonClientMetrics
.lfStatusFont.lfHeight);
352
_statusFontFamily = new FontFamily(SystemParameters.
NonClientMetrics
.lfStatusFont.lfFaceName);
367
return (SystemParameters.
NonClientMetrics
.lfStatusFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
379
return FontWeight.FromOpenTypeWeight(SystemParameters.
NonClientMetrics
.lfStatusFont.lfWeight);
396
if (SystemParameters.
NonClientMetrics
.lfStatusFont.lfUnderline!= 0)
401
if (SystemParameters.
NonClientMetrics
.lfStatusFont.lfStrikeOut != 0)
419
return ConvertFontHeight(SystemParameters.
NonClientMetrics
.lfMessageFont.lfHeight);
448
_messageFontFamily = new FontFamily(SystemParameters.
NonClientMetrics
.lfMessageFont.lfFaceName);
463
return (SystemParameters.
NonClientMetrics
.lfMessageFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
474
return FontWeight.FromOpenTypeWeight(SystemParameters.
NonClientMetrics
.lfMessageFont.lfWeight);
489
if (SystemParameters.
NonClientMetrics
.lfMessageFont.lfUnderline != 0)
494
if (SystemParameters.
NonClientMetrics
.lfMessageFont.lfStrikeOut != 0)
System\Windows\SystemParameters.cs (9)
1978
return ConvertPixel(
NonClientMetrics
.iBorderWidth);
1989
return ConvertPixel(
NonClientMetrics
.iScrollWidth);
2000
return ConvertPixel(
NonClientMetrics
.iScrollHeight);
2011
return ConvertPixel(
NonClientMetrics
.iCaptionWidth);
2022
return ConvertPixel(
NonClientMetrics
.iCaptionHeight);
2033
return ConvertPixel(
NonClientMetrics
.iSmCaptionWidth);
2044
return ConvertPixel(
NonClientMetrics
.iSmCaptionHeight);
2055
return ConvertPixel(
NonClientMetrics
.iMenuWidth);
2066
return ConvertPixel(
NonClientMetrics
.iMenuHeight);