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