1 write to _toolStripContainer
System.Windows.Forms.Design (1)
System\ComponentModel\Design\ToolStripContainerActionList.cs (1)
24
_toolStripContainer
= toolStripContainer;
22 references to _toolStripContainer
System.Windows.Forms.Design (22)
System\ComponentModel\Design\ToolStripContainerActionList.cs (22)
25
_serviceProvider =
_toolStripContainer
.Site;
88
PropertyDescriptor? dockProperty = TypeDescriptor.GetProperties(
_toolStripContainer
)["Dock"];
89
return dockProperty is null || (DockStyle?)dockProperty.GetValue(
_toolStripContainer
) == DockStyle.Fill;
98
&&
_toolStripContainer
.Parent == root
113
if (_designerHost.RootComponent is Control root &&
_toolStripContainer
.Parent is null)
115
root.Controls.Add(
_toolStripContainer
);
121
PropertyDescriptor? dockProp = TypeDescriptor.GetProperties(
_toolStripContainer
)["Dock"];
122
dockProp?.SetValue(
_toolStripContainer
, DockStyle.Fill);
133
||
_toolStripContainer
.Parent != root
139
Control newParent =
_toolStripContainer
.ContentPanel;
154
if (control ==
_toolStripContainer
|| control is MdiClient)
166
newParent = control is ToolStrip ? GetParent(control) :
_toolStripContainer
.ContentPanel;
218
Control newParent =
_toolStripContainer
.ContentPanel;
221
foreach (Control panel in
_toolStripContainer
.Controls)
238
get => (bool)(GetProperty(
_toolStripContainer
, nameof(ToolStripContainer.TopToolStripPanelVisible)) ?? false);
243
ChangeProperty(
_toolStripContainer
, "TopToolStripPanelVisible", value);
253
get => (bool)(GetProperty(
_toolStripContainer
, nameof(ToolStripContainer.BottomToolStripPanelVisible)) ?? false);
258
ChangeProperty(
_toolStripContainer
, "BottomToolStripPanelVisible", value);
268
get => (bool)(GetProperty(
_toolStripContainer
, nameof(ToolStripContainer.LeftToolStripPanelVisible)) ?? false);
273
ChangeProperty(
_toolStripContainer
, "LeftToolStripPanelVisible", value);
283
get => (bool)(GetProperty(
_toolStripContainer
, nameof(ToolStripContainer.RightToolStripPanelVisible)) ?? false);
288
ChangeProperty(
_toolStripContainer
, "RightToolStripPanelVisible", value);