1 write to _designerHost
System.Windows.Forms.Design (1)
System\ComponentModel\Design\ToolStripContainerActionList.cs (1)
26
_designerHost
= _serviceProvider?.GetService<IDesignerHost>();
8 references to _designerHost
System.Windows.Forms.Design (8)
System\ComponentModel\Design\ToolStripContainerActionList.cs (8)
43
if (
_designerHost
is null)
49
ToolStripPanelDesigner? panelDesigner =
_designerHost
.GetDesigner(component) as ToolStripPanelDesigner;
97
=>
_designerHost
?.RootComponent is Control root
107
if (
_designerHost
is null)
113
if (
_designerHost
.RootComponent is Control root && _toolStripContainer.Parent is null)
132
if (
_designerHost
?.RootComponent is not Control root
144
DesignerTransaction? changeParent =
_designerHost
.CreateTransaction(string.Format(SR._0_reparent_controls_transaction, nameof(ToolStripContainer)));
324
string displayName =
_designerHost
?.RootComponent is UserControl