24 writes to SelectedDesignerControl
System.Windows.Forms.Design (24)
System\Windows\Forms\Design\ToolStripDesigner.cs (5)
643KeyboardHandlingService.SelectedDesignerControl = _editorNode; 651KeyboardHandlingService.SelectedDesignerControl = null; 660KeyboardHandlingService.SelectedDesignerControl = _editorNode; 1091KeyboardHandlingService.SelectedDesignerControl = targetSelection; 1460KeyboardHandlingService.SelectedDesignerControl = null;
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
705GetService<ToolStripKeyboardHandlingService>().SelectedDesignerControl = selectedItem;
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
315keyService.SelectedDesignerControl = null;
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
1134keyboardHandlingService.SelectedDesignerControl = nextItem; 1139keyboardHandlingService.SelectedDesignerControl = null;
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (7)
1111SelectedDesignerControl = null; 1742SelectedDesignerControl = next; 1747SelectedDesignerControl = null; 2012SelectedDesignerControl = targetSelection; 2061SelectedDesignerControl = targetSelection; 2069SelectedDesignerControl = null; 2088SelectedDesignerControl = null;
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (4)
611KeyboardHandlingService.SelectedDesignerControl = nextItem; 616KeyboardHandlingService.SelectedDesignerControl = null; 1935KeyboardHandlingService.SelectedDesignerControl = targetSelection; 2453KeyboardHandlingService.SelectedDesignerControl = MenuItem.DropDownItems[count];
System\Windows\Forms\Design\ToolStripTemplateNode.cs (4)
471KeyboardService.SelectedDesignerControl = _controlHost; 489KeyboardService.SelectedDesignerControl = _controlHost; 525KeyboardService.SelectedDesignerControl = _controlHost; 1171KeyboardService.SelectedDesignerControl = _controlHost;
46 references to SelectedDesignerControl
System.Windows.Forms.Design (46)
System\Windows\Forms\Design\ToolStripDesigner.cs (5)
750comp ??= (IComponent)KeyboardHandlingService.SelectedDesignerControl; 838if (KeyboardHandlingService.SelectedDesignerControl is ToolStripItem designerItem && designerItem.IsOnDropDown) 971selectedItem = KeyboardHandlingService.SelectedDesignerControl; 1234selectedItem = (IComponent)KeyboardHandlingService.SelectedDesignerControl; 2392_ = KeyboardHandlingService.SelectedDesignerControl;
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
432comp = (IComponent)keyboardHandlingService.SelectedDesignerControl;
System\Windows\Forms\Design\ToolStripInSituService.cs (2)
90comp = (IComponent)ToolStripKeyBoardService.SelectedDesignerControl; 189comp ??= ToolStripKeyBoardService.SelectedDesignerControl;
System\Windows\Forms\Design\ToolStripItemBehavior.cs (2)
307if (keyService is not null && keyService.SelectedDesignerControl is not null) 309origSel.Add(keyService.SelectedDesignerControl);
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (29)
160if (value != SelectedDesignerControl) 162if (SelectedDesignerControl is DesignerToolStripControlHost prevDesignerNode) 501&& SelectedDesignerControl is DesignerToolStripControlHost controlHost 539if (SelectedDesignerControl is DesignerToolStripControlHost curDesignerNode) 602comp = (IComponent)SelectedDesignerControl; 675item = SelectedDesignerControl as ToolStripItem; 720item = SelectedDesignerControl as ToolStripItem; 807if (SelectedDesignerControl is DesignerToolStripControlHost controlHost) 844if (SelectedDesignerControl is DesignerToolStripControlHost typeHereNode) 919comp = (IComponent)SelectedDesignerControl; 996item = SelectedDesignerControl as ToolStripItem; 1050item = SelectedDesignerControl as ToolStripItem; 1094primarySelection = SelectedDesignerControl as ToolStripItem; 1122primarySelection = SelectedDesignerControl as ToolStripItem; 1159item = SelectedDesignerControl as ToolStripItem; 1200currentSelection ??= SelectedDesignerControl; 1213toolStripItem ??= SelectedDesignerControl as ToolStripItem; 1242item ??= SelectedDesignerControl as ToolStripDropDownItem; 1327currentSelection ??= SelectedDesignerControl; 1340item ??= SelectedDesignerControl as ToolStripItem; 1353if (SelectedDesignerControl is DesignerToolStripControlHost controlHost 1593if (SelectedDesignerControl is not null) 1595if (SelectedDesignerControl is DesignerToolStripControlHost curDesignerNode) 1681component = SelectedDesignerControl as Control; 1691toolStripItem ??= SelectedDesignerControl as ToolStripItem; 1783currentSelection = SelectedDesignerControl; 1842item ??= SelectedDesignerControl as ToolStripItem; 2051if (SelectedDesignerControl is not null) 2053origSel.Add(SelectedDesignerControl);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (5)
267selectedItem = KeyboardHandlingService.SelectedDesignerControl; 1256if (KeyboardHandlingService.SelectedDesignerControl is ToolStripItem item) 2186if (KeyboardHandlingService is not null && KeyboardHandlingService.SelectedDesignerControl is not null) 2188origSel.Add(KeyboardHandlingService.SelectedDesignerControl); 2204selectedObj = KeyboardHandlingService.SelectedDesignerControl;
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
639if (KeyboardService is not null && KeyboardService.SelectedDesignerControl == _controlHost) 1213if (KeyboardService is not null && KeyboardService.SelectedDesignerControl == _controlHost)