5 references to s_foreColorProperty
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (5)
2075
Properties.TryGetValue(
s_foreColorProperty
, out Color color);
2105
Properties.AddOrRemoveValue(
s_foreColorProperty
, value);
3019
bool checkForeColor = !Properties.ContainsKey(
s_foreColorProperty
);
7107
Color foreColor = Properties.GetValueOrDefault<Color>(
s_foreColorProperty
);
10581
internal virtual bool ShouldSerializeForeColor() => !Properties.GetValueOrDefault<Color>(
s_foreColorProperty
).IsEmpty;