39 references to NonClientMetrics
PresentationFramework (39)
src\Framework\System\Windows\SystemFonts.cs (30)
106
return ConvertFontHeight(SystemParameters.
NonClientMetrics
.lfCaptionFont.lfHeight);
120
_captionFontFamily = new FontFamily(SystemParameters.
NonClientMetrics
.lfCaptionFont.lfFaceName);
135
return (SystemParameters.
NonClientMetrics
.lfCaptionFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
147
return FontWeight.FromOpenTypeWeight(SystemParameters.
NonClientMetrics
.lfCaptionFont.lfWeight);
163
if (SystemParameters.
NonClientMetrics
.lfCaptionFont.lfUnderline != 0)
168
if (SystemParameters.
NonClientMetrics
.lfCaptionFont.lfStrikeOut != 0)
186
return ConvertFontHeight(SystemParameters.
NonClientMetrics
.lfSmCaptionFont.lfHeight);
200
_smallCaptionFontFamily = new FontFamily(SystemParameters.
NonClientMetrics
.lfSmCaptionFont.lfFaceName);
215
return (SystemParameters.
NonClientMetrics
.lfSmCaptionFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
227
return FontWeight.FromOpenTypeWeight(SystemParameters.
NonClientMetrics
.lfSmCaptionFont.lfWeight);
243
if (SystemParameters.
NonClientMetrics
.lfSmCaptionFont.lfUnderline != 0)
248
if (SystemParameters.
NonClientMetrics
.lfSmCaptionFont.lfStrikeOut != 0)
267
return ConvertFontHeight(SystemParameters.
NonClientMetrics
.lfMenuFont.lfHeight);
280
_menuFontFamily = new FontFamily(SystemParameters.
NonClientMetrics
.lfMenuFont.lfFaceName);
294
return (SystemParameters.
NonClientMetrics
.lfMenuFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
305
return FontWeight.FromOpenTypeWeight(SystemParameters.
NonClientMetrics
.lfMenuFont.lfWeight);
320
if (SystemParameters.
NonClientMetrics
.lfMenuFont.lfUnderline != 0)
325
if (SystemParameters.
NonClientMetrics
.lfMenuFont.lfStrikeOut != 0)
343
return ConvertFontHeight(SystemParameters.
NonClientMetrics
.lfStatusFont.lfHeight);
357
_statusFontFamily = new FontFamily(SystemParameters.
NonClientMetrics
.lfStatusFont.lfFaceName);
372
return (SystemParameters.
NonClientMetrics
.lfStatusFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
384
return FontWeight.FromOpenTypeWeight(SystemParameters.
NonClientMetrics
.lfStatusFont.lfWeight);
401
if (SystemParameters.
NonClientMetrics
.lfStatusFont.lfUnderline!= 0)
406
if (SystemParameters.
NonClientMetrics
.lfStatusFont.lfStrikeOut != 0)
424
return ConvertFontHeight(SystemParameters.
NonClientMetrics
.lfMessageFont.lfHeight);
438
_messageFontFamily = new FontFamily(SystemParameters.
NonClientMetrics
.lfMessageFont.lfFaceName);
453
return (SystemParameters.
NonClientMetrics
.lfMessageFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
464
return FontWeight.FromOpenTypeWeight(SystemParameters.
NonClientMetrics
.lfMessageFont.lfWeight);
479
if (SystemParameters.
NonClientMetrics
.lfMessageFont.lfUnderline != 0)
484
if (SystemParameters.
NonClientMetrics
.lfMessageFont.lfStrikeOut != 0)
src\Framework\System\Windows\SystemParameters.cs (9)
2181
return ConvertPixel(
NonClientMetrics
.iBorderWidth);
2192
return ConvertPixel(
NonClientMetrics
.iScrollWidth);
2203
return ConvertPixel(
NonClientMetrics
.iScrollHeight);
2214
return ConvertPixel(
NonClientMetrics
.iCaptionWidth);
2225
return ConvertPixel(
NonClientMetrics
.iCaptionHeight);
2236
return ConvertPixel(
NonClientMetrics
.iSmCaptionWidth);
2247
return ConvertPixel(
NonClientMetrics
.iSmCaptionHeight);
2258
return ConvertPixel(
NonClientMetrics
.iMenuWidth);
2269
return ConvertPixel(
NonClientMetrics
.iMenuHeight);