3 writes to ForeColor
System.Windows.Forms.Tests (3)
System\Windows\Forms\ToolTipTests.cs (3)
340
ForeColor
= value
345
toolTip.
ForeColor
= value;
353
Assert.Throws<ArgumentException>("value", () => toolTip.
ForeColor
= Color.Empty);
8 references to ForeColor
System.Windows.Forms (4)
System\Windows\Forms\ToolTip\ToolTip.cs (4)
246
throw new ArgumentException(string.Format(SR.ToolTipEmptyColor, nameof(
ForeColor
)), nameof(value));
778
if (
ForeColor
!= SystemColors.InfoText)
780
PInvokeCore.SendMessage(this, PInvoke.TTM_SETTIPTEXTCOLOR, (WPARAM)
ForeColor
);
2350
ForeColor
,
System.Windows.Forms.Tests (4)
System\Windows\Forms\ToolTipTests.cs (4)
27
Assert.Equal(SystemColors.InfoText, toolTip.
ForeColor
);
57
Assert.Equal(SystemColors.InfoText, toolTip.
ForeColor
);
342
Assert.Equal(value, toolTip.
ForeColor
);
346
Assert.Equal(value, toolTip.
ForeColor
);