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