5 references to s_foreColorProperty
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (5)
2096
Properties.TryGetValue(
s_foreColorProperty
, out Color color);
2126
Properties.AddOrRemoveValue(
s_foreColorProperty
, value);
3040
bool checkForeColor = !Properties.ContainsKey(
s_foreColorProperty
);
7128
Color foreColor = Properties.GetValueOrDefault<Color>(
s_foreColorProperty
);
10602
internal virtual bool ShouldSerializeForeColor() => !Properties.GetValueOrDefault<Color>(
s_foreColorProperty
).IsEmpty;