30 references to TemplateNodeSelectionState
System.Windows.Forms.Design (30)
System\Windows\Forms\Design\DesignerToolStripControlHost.cs (2)
70renderer.State = (int)TemplateNodeSelectionState.None; 82renderer.State = (int)TemplateNodeSelectionState.TemplateNodeSelected;
System\Windows\Forms\Design\ToolStripTemplateNode.cs (28)
596if (_renderer.State != (int)TemplateNodeSelectionState.HotRegionSelected) 598_renderer.State = (int)TemplateNodeSelectionState.MouseOverLabel; 611if (_renderer.State != (int)TemplateNodeSelectionState.HotRegionSelected) 615_renderer.State = (int)TemplateNodeSelectionState.MouseOverHotRegion; 619_renderer.State = (int)TemplateNodeSelectionState.MouseOverLabel; 634if (_renderer.State != (int)TemplateNodeSelectionState.HotRegionSelected) 636_renderer.State = (int)TemplateNodeSelectionState.None; 641_renderer.State = (int)TemplateNodeSelectionState.TemplateNodeSelected; 655_renderer.State = (int)TemplateNodeSelectionState.TemplateNodeSelected; 667_renderer.State = (int)TemplateNodeSelectionState.None; 871_renderer.State = (int)TemplateNodeSelectionState.TemplateNodeSelected; 1024_renderer.State = (int)TemplateNodeSelectionState.TemplateNodeSelected; 1182_renderer.State = (int)TemplateNodeSelectionState.None; 1189_renderer.State = (int)TemplateNodeSelectionState.SplitButtonSelected; 1193_renderer.State = (int)TemplateNodeSelectionState.DropDownSelected; 1208if (SelectionService.PrimarySelection is ToolStripItem && _renderer is not null && _renderer.State != (int)TemplateNodeSelectionState.HotRegionSelected) 1210_renderer.State = (int)TemplateNodeSelectionState.None; 1215_renderer.State = (int)TemplateNodeSelectionState.TemplateNodeSelected; 1354_renderer.State = (int)TemplateNodeSelectionState.HotRegionSelected; 1780private int _state = (int)TemplateNodeSelectionState.None; 1889if (_state == (int)TemplateNodeSelectionState.TemplateNodeSelected) // state Template node is selected. 1915if (_state == (int)TemplateNodeSelectionState.MouseOverLabel) // state Template node is selected. 1935if (_state == (int)TemplateNodeSelectionState.MouseOverHotRegion) 1945if (_state == (int)TemplateNodeSelectionState.HotRegionSelected) 1954if (_state == (int)TemplateNodeSelectionState.None) // state Template node is not selected. 1996else if (_state == (int)TemplateNodeSelectionState.SplitButtonSelected) 2005else if (_state == (int)TemplateNodeSelectionState.DropDownSelected) 2015else if (_state == (int)TemplateNodeSelectionState.TemplateNodeSelected)