12 references to s_fontHeightProperty
System.Windows.Forms (12)
System\Windows\Forms\Control.cs (12)
1920if (Properties.ContainsKey(s_fontHeightProperty)) 1922Properties.AddValue(s_fontHeightProperty, (value is null) ? -1 : value.Height); 2035if (Properties.TryGetValue(s_fontHeightProperty, out int fontHeight) && fontHeight != -1) 2042return Properties.AddValue(s_fontHeightProperty, font.Height); 2057Properties.AddValue(s_fontHeightProperty, localFontHeight); 2062set => Properties.AddValue(s_fontHeightProperty, value); 2993if (Properties.ContainsKey(s_fontHeightProperty)) 2995Properties.AddValue(s_fontHeightProperty, (value is null) ? -1 : value.Height); 6879if (Properties.ContainsKey(s_fontHeightProperty)) 6881Properties.AddValue(s_fontHeightProperty, -1); 10797if (Properties.ContainsKey(s_fontHeightProperty)) 10799Properties.AddValue(s_fontHeightProperty, scaledFont.Height);