46 references to ToolStripContainer
System.Windows.Forms (9)
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.ToolStripContainerAccessibleObject.cs (2)
13public ToolStripContainerAccessibleObject(ToolStripContainer owner) : base(owner) 20UIA_PROPERTY_ID.UIA_HasKeyboardFocusPropertyId => (VARIANT)(this.TryGetOwnerAs(out ToolStripContainer? owner) && owner.Focused),
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.ToolStripContainerTypedControlCollection.cs (2)
12private readonly ToolStripContainer _owner; 16public ToolStripContainerTypedControlCollection(ToolStripContainer c, bool isReadOnly)
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
101if (ParentInternal is ToolStripContainer && value == Color.Transparent)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (2)
19private readonly ToolStripContainer? _owner; 56internal ToolStripPanel(ToolStripContainer owner)
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.cs (1)
147if (string.IsNullOrEmpty(toolStripPanelName) && toolStripPanel.Parent is ToolStripContainer && !string.IsNullOrEmpty(toolStripPanel.Parent.Name))
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.SettingsStub.cs (1)
32else if (parentPanel.Parent is ToolStripContainer && !string.IsNullOrEmpty(parentPanel.Parent.Name))
System.Windows.Forms.Design (37)
System\ComponentModel\Design\ToolStripContainerActionList.cs (8)
15private readonly ToolStripContainer _toolStripContainer; 22public ToolStripContainerActionList(ToolStripContainer toolStripContainer) : base(toolStripContainer) 82/// Checks if the <see cref="ToolStripContainer" /> is dock filled. 144DesignerTransaction? changeParent = _designerHost.CreateTransaction(string.Format(SR._0_reparent_controls_transaction, nameof(ToolStripContainer))); 232get => (bool)(GetProperty(_toolStripContainer, nameof(ToolStripContainer.TopToolStripPanelVisible)) ?? false); 247get => (bool)(GetProperty(_toolStripContainer, nameof(ToolStripContainer.BottomToolStripPanelVisible)) ?? false); 262get => (bool)(GetProperty(_toolStripContainer, nameof(ToolStripContainer.LeftToolStripPanelVisible)) ?? false); 277get => (bool)(GetProperty(_toolStripContainer, nameof(ToolStripContainer.RightToolStripPanelVisible)) ?? false);
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (2)
68ToolStripContainer? parent = _relatedPanel?.Parent as ToolStripContainer;
System\Windows\Forms\Design\ChangeToolStripParentVerb.cs (3)
54ToolboxItem toolboxItem = new(typeof(ToolStripContainer)); 59if (newComp[0] is ToolStripContainer tsc) 117private static Control GetParent(ToolStripContainer container, ToolStrip c)
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (14)
30private ToolStripContainer? _toolStripContainer; 38/// Shadow the <see cref="ToolStripContainer.TopToolStripPanelVisible"/> property at design-time 47((ToolStripContainer)Component).TopToolStripPanelVisible = value; 52/// Shadow the <see cref="ToolStripContainer.LeftToolStripPanelVisible"/> property at design-time 61((ToolStripContainer)Component).LeftToolStripPanelVisible = value; 66/// Shadow the <see cref="ToolStripContainer.RightToolStripPanelVisible"/> property at design-time 75((ToolStripContainer)Component).RightToolStripPanelVisible = value; 80/// Shadow the <see cref="ToolStripContainer.BottomToolStripPanelVisible"/> property at design-time 89((ToolStripContainer)Component).BottomToolStripPanelVisible = value; 203private static ToolStripContainer? ContainerParent(Control control) 205if (control is null or ToolStripContainer) 212if (control.Parent is ToolStripContainer parent) 252ToolStripContainer? container = ContainerParent(control); 361_toolStripContainer = (ToolStripContainer)component;
System\Windows\Forms\Design\ToolStripContentPanelDesigner.cs (1)
59if (panel is not null && panel.Parent is ToolStripContainer)
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (9)
93get => Control.Parent is ToolStripContainer && (base.InheritanceAttribute == InheritanceAttribute.Inherited) 118=> Control.Parent is ToolStripContainer 153=> Control.Parent is not ToolStripContainer; 176if (Control.Parent is ToolStripContainer { ContentPanel: { } contentPanel } 309ToolStripContainer? parent = Control.Parent as ToolStripContainer; 404if (Control.Parent is ToolStripContainer) 472if (Control.Parent is ToolStripContainer) 525if (Control.Parent is ToolStripContainer)