12 references to s_fontHeightProperty
System.Windows.Forms (12)
System\Windows\Forms\Control.cs (12)
1847
if (Properties.ContainsKey(
s_fontHeightProperty
))
1849
Properties.AddValue(
s_fontHeightProperty
, (value is null) ? -1 : value.Height);
1962
if (Properties.TryGetValue(
s_fontHeightProperty
, out int fontHeight) && fontHeight != -1)
1969
return Properties.AddValue(
s_fontHeightProperty
, font.Height);
1984
Properties.AddValue(
s_fontHeightProperty
, localFontHeight);
1989
set => Properties.AddValue(
s_fontHeightProperty
, value);
2920
if (Properties.ContainsKey(
s_fontHeightProperty
))
2922
Properties.AddValue(
s_fontHeightProperty
, (value is null) ? -1 : value.Height);
6806
if (Properties.ContainsKey(
s_fontHeightProperty
))
6808
Properties.AddValue(
s_fontHeightProperty
, -1);
10702
if (Properties.ContainsKey(
s_fontHeightProperty
))
10704
Properties.AddValue(
s_fontHeightProperty
, scaledFont.Height);