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