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;
100
=>
_designerHost
?.RootComponent is Control root
110
if (
_designerHost
is null)
116
if (
_designerHost
.RootComponent is Control root && _toolStripContainer.Parent is null)
135
if (
_designerHost
?.RootComponent is not Control root
147
DesignerTransaction? changeParent =
_designerHost
.CreateTransaction(string.Format(SR._0_reparent_controls_transaction, nameof(ToolStripContainer)));
327
string displayName =
_designerHost
?.RootComponent is UserControl