12 references to s_fontHeightProperty
System.Windows.Forms (12)
System\Windows\Forms\Control.cs (12)
1941
if (Properties.ContainsKey(
s_fontHeightProperty
))
1943
Properties.AddValue(
s_fontHeightProperty
, (value is null) ? -1 : value.Height);
2056
if (Properties.TryGetValue(
s_fontHeightProperty
, out int fontHeight) && fontHeight != -1)
2063
return Properties.AddValue(
s_fontHeightProperty
, font.Height);
2078
Properties.AddValue(
s_fontHeightProperty
, localFontHeight);
2083
set => Properties.AddValue(
s_fontHeightProperty
, value);
3014
if (Properties.ContainsKey(
s_fontHeightProperty
))
3016
Properties.AddValue(
s_fontHeightProperty
, (value is null) ? -1 : value.Height);
6900
if (Properties.ContainsKey(
s_fontHeightProperty
))
6902
Properties.AddValue(
s_fontHeightProperty
, -1);
10818
if (Properties.ContainsKey(
s_fontHeightProperty
))
10820
Properties.AddValue(
s_fontHeightProperty
, scaledFont.Height);