3 instantiations of DesignerToolStripControlHost
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
731
_editorNode = new
DesignerToolStripControlHost
(_tn.EditorToolStrip);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (2)
377
_typeHereNode = new
DesignerToolStripControlHost
(_typeHereTemplateNode.EditorToolStrip);
755
_commitedEditorNode = new
DesignerToolStripControlHost
(_commitedTemplateNode.EditorToolStrip)
48 references to DesignerToolStripControlHost
System.Windows.Forms.Design (48)
System\Windows\Forms\Design\BindingNavigatorDesigner.cs (1)
98
if (item is
DesignerToolStripControlHost
)
System\Windows\Forms\Design\ToolStripDesigner.cs (10)
30
private
DesignerToolStripControlHost
_editorNode; // new editorNode
149
if (item is not
DesignerToolStripControlHost
)
270
public
DesignerToolStripControlHost
EditorNode
468
if (item is
DesignerToolStripControlHost
)
777
else if (item is
DesignerToolStripControlHost
)
781
ToolStripDropDown dropDown = (ToolStripDropDown)((
DesignerToolStripControlHost
)comp).GetCurrentParent();
1087
if (targetSelection is
DesignerToolStripControlHost
)
1297
if (item is
DesignerToolStripControlHost
)
2230
if (item is
DesignerToolStripControlHost
)
2464
if (item is
DesignerToolStripControlHost
)
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
673
if (toolItem is
DesignerToolStripControlHost
)
System\Windows\Forms\Design\ToolStripInSituService.cs (3)
95
if (comp is
DesignerToolStripControlHost
c)
191
DesignerToolStripControlHost
designerItem = comp as
DesignerToolStripControlHost
;
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
1151
if (item is not
DesignerToolStripControlHost
)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (22)
162
if (SelectedDesignerControl is
DesignerToolStripControlHost
prevDesignerNode)
170
if (_currentSelection is
DesignerToolStripControlHost
curDesignerNode)
501
&& SelectedDesignerControl is
DesignerToolStripControlHost
controlHost
539
if (SelectedDesignerControl is
DesignerToolStripControlHost
curDesignerNode)
807
if (SelectedDesignerControl is
DesignerToolStripControlHost
controlHost)
844
if (SelectedDesignerControl is
DesignerToolStripControlHost
typeHereNode)
940
if (comp is
DesignerToolStripControlHost
)
942
DesignerToolStripControlHost
typeHereNode = comp as
DesignerToolStripControlHost
;
1215
if (toolStripItem is
DesignerToolStripControlHost
&& toolStripItem.GetCurrentParent() is ToolStripDropDown parent)
1348
if (item is
DesignerToolStripControlHost
)
1353
if (SelectedDesignerControl is
DesignerToolStripControlHost
controlHost
1595
if (SelectedDesignerControl is
DesignerToolStripControlHost
curDesignerNode)
1740
if (next is
DesignerToolStripControlHost
)
1787
if (currentSelection is
DesignerToolStripControlHost
templateNodeItem && (!templateNodeItem.IsOnDropDown || (templateNodeItem.IsOnDropDown && templateNodeItem.IsOnOverflow)))
1847
Debug.WriteLineIf(item is
DesignerToolStripControlHost
, " Why are we here for non DesignerMenuItem??");
1848
if (item is
DesignerToolStripControlHost
designerItem)
1856
if (item is not null and not
DesignerToolStripControlHost
)
2010
if (targetSelection is
DesignerToolStripControlHost
&& currentSelection is
DesignerToolStripControlHost
)
2028
if (parent.Items[i] is
DesignerToolStripControlHost
)
2057
if (targetSelection is
DesignerToolStripControlHost
)
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (8)
22
private
DesignerToolStripControlHost
_typeHereNode;
26
private
DesignerToolStripControlHost
_commitedEditorNode;
91
if (item is not
DesignerToolStripControlHost
)
144
if (item is not
DesignerToolStripControlHost
)
363
if (currentItem is
DesignerToolStripControlHost
host)
1086
if (item is
DesignerToolStripControlHost
controlHost)
1933
if (targetSelection is
DesignerToolStripControlHost
)
2317
if (ownerItem.DropDownItems.Count > 0 && ownerItem.DropDownItems[0] is
DesignerToolStripControlHost
)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
94
private
DesignerToolStripControlHost
_controlHost;
261
public
DesignerToolStripControlHost
ControlHost