11 instantiations of ToolStripContainer
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\SplitterPanelDesignerTests.cs (1)
33
using ToolStripContainer toolStripContainer =
new
();
System\Windows\Forms\Design\ToolStripContainerDesignerTests.cs (1)
24
_toolStripContainer =
new
();
System.Windows.Forms.Tests (8)
System\Windows\Forms\AccessibleObjects\ToolStripContainer.ToolStripContainerAccessibleObjectTests.cs (4)
13
using ToolStripContainer toolStripContainer =
new
();
25
using ToolStripContainer control =
new
()
41
using ToolStripContainer control =
new
();
55
using ToolStripContainer control =
new
();
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
666
using ToolStripContainer parent =
new
()
System\Windows\Forms\ToolStripPanelRow.ToolStripPanelRowControlCollectionTests.cs (1)
15
using ToolStripContainer toolStripContainer =
new
();
System\Windows\Forms\ToolStripPanelTests.cs (1)
345
using ToolStripContainer toolStripContainer =
new
();
ToolStripContainerTests.cs (1)
15
_toolStripContainer =
new
();
TestPassApp (1)
ToolStripContainer.Designer.cs (1)
33
this.toolStripContainer2 = new System.Windows.Forms.
ToolStripContainer
();
65 references to ToolStripContainer
DesignSurface (4)
MainForm.cs (4)
264
ToolStripContainer
toolStripContainer = surface.CreateControl<
ToolStripContainer
>(new Size(200, 180), new Point(250, 280));
296
ToolStripContainer
toolStripContainer = surface.CreateControl<
ToolStripContainer
>(new Size(800, 200), new Point(0, 0));
System.Windows.Forms (9)
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.ToolStripContainerAccessibleObject.cs (2)
13
public ToolStripContainerAccessibleObject(
ToolStripContainer
owner) : base(owner)
20
UIA_PROPERTY_ID.UIA_HasKeyboardFocusPropertyId => (VARIANT)(this.TryGetOwnerAs(out
ToolStripContainer
? owner) && owner.Focused),
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.ToolStripContainerTypedControlCollection.cs (2)
12
private readonly
ToolStripContainer
_owner;
16
public ToolStripContainerTypedControlCollection(
ToolStripContainer
c, bool isReadOnly)
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
101
if (ParentInternal is
ToolStripContainer
&& value == Color.Transparent)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (2)
19
private readonly
ToolStripContainer
? _owner;
56
internal ToolStripPanel(
ToolStripContainer
owner)
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.cs (1)
147
if (string.IsNullOrEmpty(toolStripPanelName) && toolStripPanel.Parent is
ToolStripContainer
&& !string.IsNullOrEmpty(toolStripPanel.Parent.Name))
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.SettingsStub.cs (1)
32
else if (parentPanel.Parent is
ToolStripContainer
&& !string.IsNullOrEmpty(parentPanel.Parent.Name))
System.Windows.Forms.Design (37)
System\ComponentModel\Design\ToolStripContainerActionList.cs (8)
15
private readonly
ToolStripContainer
_toolStripContainer;
22
public ToolStripContainerActionList(
ToolStripContainer
toolStripContainer) : base(toolStripContainer)
85
/// Checks if the <see cref="
ToolStripContainer
" /> is dock filled.
147
DesignerTransaction? changeParent = _designerHost.CreateTransaction(string.Format(SR._0_reparent_controls_transaction, nameof(
ToolStripContainer
)));
241
get => (bool)(GetProperty(_toolStripContainer, nameof(
ToolStripContainer
.TopToolStripPanelVisible)) ?? false);
256
get => (bool)(GetProperty(_toolStripContainer, nameof(
ToolStripContainer
.BottomToolStripPanelVisible)) ?? false);
271
get => (bool)(GetProperty(_toolStripContainer, nameof(
ToolStripContainer
.LeftToolStripPanelVisible)) ?? false);
286
get => (bool)(GetProperty(_toolStripContainer, nameof(
ToolStripContainer
.RightToolStripPanelVisible)) ?? false);
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (2)
68
ToolStripContainer
? parent = _relatedPanel?.Parent as
ToolStripContainer
;
System\Windows\Forms\Design\ChangeToolStripParentVerb.cs (3)
54
ToolboxItem toolboxItem = new(typeof(
ToolStripContainer
));
59
if (newComp[0] is
ToolStripContainer
tsc)
120
private static Control GetParent(
ToolStripContainer
container, ToolStrip c)
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (14)
30
private
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;
203
private static
ToolStripContainer
? ContainerParent(Control control)
205
if (control is null or
ToolStripContainer
)
212
if (control.Parent is
ToolStripContainer
parent)
252
ToolStripContainer
? container = ContainerParent(control);
361
_toolStripContainer = (
ToolStripContainer
)component;
System\Windows\Forms\Design\ToolStripContentPanelDesigner.cs (1)
59
if (panel is not null && panel.Parent is
ToolStripContainer
)
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (9)
93
get => Control.Parent is
ToolStripContainer
&& (base.InheritanceAttribute == InheritanceAttribute.Inherited)
118
=> Control.Parent is
ToolStripContainer
153
=> Control.Parent is not
ToolStripContainer
;
176
if (Control.Parent is
ToolStripContainer
{ ContentPanel: { } contentPanel }
312
ToolStripContainer
? parent = Control.Parent as
ToolStripContainer
;
416
if (Control.Parent is
ToolStripContainer
)
484
if (Control.Parent is
ToolStripContainer
)
537
if (Control.Parent is
ToolStripContainer
)
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\SplitterPanelDesignerTests.cs (1)
33
using
ToolStripContainer
toolStripContainer = new();
System\Windows\Forms\Design\ToolStripContainerDesignerTests.cs (1)
18
private readonly
ToolStripContainer
_toolStripContainer;
System.Windows.Forms.Tests (12)
System\Windows\Forms\AccessibleObjects\ToolStripContainer.ToolStripContainerAccessibleObjectTests.cs (8)
13
using
ToolStripContainer
toolStripContainer = new();
14
ToolStripContainer
.ToolStripContainerAccessibleObject accessibleObject = new(toolStripContainer);
25
using
ToolStripContainer
control = new()
31
var accessibleObject = new
ToolStripContainer
.ToolStripContainerAccessibleObject(control);
41
using
ToolStripContainer
control = new();
43
var accessibleObject = new
ToolStripContainer
.ToolStripContainerAccessibleObject(control);
55
using
ToolStripContainer
control = new();
57
var accessibleObject = new
ToolStripContainer
.ToolStripContainerAccessibleObject(control);
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
666
using
ToolStripContainer
parent = new()
System\Windows\Forms\ToolStripPanelRow.ToolStripPanelRowControlCollectionTests.cs (1)
15
using
ToolStripContainer
toolStripContainer = new();
System\Windows\Forms\ToolStripPanelTests.cs (1)
345
using
ToolStripContainer
toolStripContainer = new();
ToolStripContainerTests.cs (1)
11
private readonly
ToolStripContainer
_toolStripContainer;
TestPassApp (1)
ToolStripContainer.Designer.cs (1)
617
private System.Windows.Forms.
ToolStripContainer
toolStripContainer2;