46 references to ToolStripContainer
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)
82
/// Checks if the <see cref="
ToolStripContainer
" /> is dock filled.
144
DesignerTransaction? changeParent = _designerHost.CreateTransaction(string.Format(SR._0_reparent_controls_transaction, nameof(
ToolStripContainer
)));
232
get => (bool)(GetProperty(_toolStripContainer, nameof(
ToolStripContainer
.TopToolStripPanelVisible)) ?? false);
247
get => (bool)(GetProperty(_toolStripContainer, nameof(
ToolStripContainer
.BottomToolStripPanelVisible)) ?? false);
262
get => (bool)(GetProperty(_toolStripContainer, nameof(
ToolStripContainer
.LeftToolStripPanelVisible)) ?? false);
277
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)
117
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 }
309
ToolStripContainer
? parent = Control.Parent as
ToolStripContainer
;
404
if (Control.Parent is
ToolStripContainer
)
472
if (Control.Parent is
ToolStripContainer
)
525
if (Control.Parent is
ToolStripContainer
)