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