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