Base:
property
ForeColor
System.Windows.Forms.Control.ForeColor
11 writes to ForeColor
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
238ForeColor = SystemColors.WindowText,
System.Windows.Forms.Tests (10)
System\Windows\Forms\TreeViewTests.cs (10)
1472ForeColor = value 1477control.ForeColor = value; 1488control.ForeColor = value; 1492control.ForeColor = value; 1510control.ForeColor = Color.Red; 1515control.ForeColor = Color.Red; 1520control.ForeColor = Color.Empty; 1526control.ForeColor = Color.Red; 6021ForeColor = Color.Blue, 6101ForeColor = Color.Blue,
16 references to ForeColor
System.Windows.Forms (3)
System\Windows\Forms\Controls\TreeView\TreeView.cs (3)
448PInvokeCore.SendMessage(this, PInvoke.TVM_SETTEXTCOLOR, 0, ForeColor.ToWin32()); 1890c = ForeColor; 2841Color color = (((curState & TreeNodeStates.Selected) == TreeNodeStates.Selected) && node.TreeView.Focused) ? SystemColors.HighlightText : (node.ForeColor != Color.Empty) ? node.ForeColor : node.TreeView.ForeColor;
System.Windows.Forms.Tests (13)
System\Windows\Forms\TreeViewTests.cs (13)
67Assert.Equal(SystemColors.WindowText, control.ForeColor); 1474Assert.Equal(expected, control.ForeColor); 1478Assert.Equal(expected, control.ForeColor); 1489Assert.Equal(expected, control.ForeColor); 1493Assert.Equal(expected, control.ForeColor); 1511Assert.Equal(Color.Red, control.ForeColor); 1516Assert.Equal(Color.Red, control.ForeColor); 1521Assert.Equal(SystemColors.WindowText, control.ForeColor); 1527Assert.Equal(Color.Red, control.ForeColor); 6049Assert.Equal(Color.Blue, control.ForeColor); 6067Assert.Equal(Color.Blue, control.ForeColor); 6130Assert.Equal(Color.Blue, control.ForeColor); 6148Assert.Equal(Color.Blue, control.ForeColor);