10 references to TreeNodeStates
System.Windows.Forms (10)
winforms\Managed\System\WinForms\DrawTreeNodeEventArgs.cs (3)
27private readonly TreeNodeStates state; 35 TreeNodeStates state) 99public TreeNodeStates State
winforms\Managed\System\WinForms\TreeView.cs (7)
2743e = new DrawTreeNodeEventArgs(g, node, bounds, (TreeNodeStates) (state)); 2830e = new DrawTreeNodeEventArgs(g, node, bounds, (TreeNodeStates) (nmcd.nmcd.uItemState)); 2835TreeNodeStates curState = e.State; 2838Color color = (((curState & TreeNodeStates.Selected) == TreeNodeStates.Selected) && node.TreeView.Focused) ? SystemColors.HighlightText : (node.ForeColor != Color.Empty) ? node.ForeColor : node.TreeView.ForeColor; 2841if ((curState & TreeNodeStates.Selected) == TreeNodeStates.Selected)