20 writes to ForeColor
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\BaseContextMenuStrip.cs (2)
129_selectionMenuItem.DropDown.ForeColor = color; 206ForeColor = color;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
365menu.ForeColor = color;
System\Windows\Forms\Design\ToolStripDesignerUtils.cs (1)
396contextMenu.ForeColor = color;
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (2)
180_alignmentToolStripMenuItem.DropDown.ForeColor = panelTextColor; 181_displayStyleToolStripMenuItem.DropDown.ForeColor = panelTextColor;
System.Windows.Forms.Tests (14)
System\Windows\Forms\ToolStripDropDownTests.cs (6)
1711ForeColor = value 1717control.ForeColor = value; 1736control.ForeColor = Color.Red; 1741control.ForeColor = Color.Red; 1746control.ForeColor = Color.Empty; 1752control.ForeColor = Color.Red;
System\Windows\Forms\ToolStripItemTests.cs (2)
3238ForeColor = Color.Red 3252ForeColor = Color.Red
System\Windows\Forms\ToolStripTests.cs (6)
2676ForeColor = value 2682control.ForeColor = value; 2701control.ForeColor = Color.Red; 2706control.ForeColor = Color.Red; 2711control.ForeColor = Color.Empty; 2717control.ForeColor = Color.Red;
17 references to ForeColor
System.Windows.Forms.Tests (17)
System\Windows\Forms\MenuStripTests.cs (1)
81Assert.Equal(Control.DefaultForeColor, control.ForeColor);
System\Windows\Forms\StatusStripTests.cs (1)
81Assert.Equal(Control.DefaultForeColor, control.ForeColor);
System\Windows\Forms\ToolStripDropDownTests.cs (7)
86Assert.Equal(Control.DefaultForeColor, control.ForeColor); 1713Assert.Equal(expected, control.ForeColor); 1718Assert.Equal(expected, control.ForeColor); 1737Assert.Equal(Color.Red, control.ForeColor); 1742Assert.Equal(Color.Red, control.ForeColor); 1747Assert.Equal(Control.DefaultForeColor, control.ForeColor); 1753Assert.Equal(Color.Red, control.ForeColor);
System\Windows\Forms\ToolStripTests.cs (8)
96Assert.Equal(Control.DefaultForeColor, control.ForeColor); 250Assert.Equal(Control.DefaultForeColor, control.ForeColor); 2678Assert.Equal(expected, control.ForeColor); 2683Assert.Equal(expected, control.ForeColor); 2702Assert.Equal(Color.Red, control.ForeColor); 2707Assert.Equal(Color.Red, control.ForeColor); 2712Assert.Equal(Control.DefaultForeColor, control.ForeColor); 2718Assert.Equal(Color.Red, control.ForeColor);