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; 91PropertyDescriptor? dockProperty = TypeDescriptor.GetProperties(_toolStripContainer)["Dock"]; 92return dockProperty is null || (DockStyle?)dockProperty.GetValue(_toolStripContainer) == DockStyle.Fill; 101&& _toolStripContainer.Parent == root 116if (_designerHost.RootComponent is Control root && _toolStripContainer.Parent is null) 118root.Controls.Add(_toolStripContainer); 124PropertyDescriptor? dockProp = TypeDescriptor.GetProperties(_toolStripContainer)["Dock"]; 125dockProp?.SetValue(_toolStripContainer, DockStyle.Fill); 136|| _toolStripContainer.Parent != root 142Control newParent = _toolStripContainer.ContentPanel; 157if (control == _toolStripContainer || control is MdiClient) 169newParent = control is ToolStrip ? GetParent(control) : _toolStripContainer.ContentPanel; 221Control newParent = _toolStripContainer.ContentPanel; 224foreach (Control panel in _toolStripContainer.Controls) 241get => (bool)(GetProperty(_toolStripContainer, nameof(ToolStripContainer.TopToolStripPanelVisible)) ?? false); 246ChangeProperty(_toolStripContainer, "TopToolStripPanelVisible", value); 256get => (bool)(GetProperty(_toolStripContainer, nameof(ToolStripContainer.BottomToolStripPanelVisible)) ?? false); 261ChangeProperty(_toolStripContainer, "BottomToolStripPanelVisible", value); 271get => (bool)(GetProperty(_toolStripContainer, nameof(ToolStripContainer.LeftToolStripPanelVisible)) ?? false); 276ChangeProperty(_toolStripContainer, "LeftToolStripPanelVisible", value); 286get => (bool)(GetProperty(_toolStripContainer, nameof(ToolStripContainer.RightToolStripPanelVisible)) ?? false); 291ChangeProperty(_toolStripContainer, "RightToolStripPanelVisible", value);