Base:
property
Dock
System.Windows.Forms.Control.Dock
10 writes to Dock
System.Windows.Forms (8)
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (8)
35
_topPanel.
Dock
= DockStyle.Top;
36
_bottomPanel.
Dock
= DockStyle.Bottom;
37
_rightPanel.
Dock
= DockStyle.Right;
38
_leftPanel.
Dock
= DockStyle.Left;
367
RightToolStripPanel.
Dock
= DockStyle.Left;
368
LeftToolStripPanel.
Dock
= DockStyle.Right;
372
RightToolStripPanel.
Dock
= DockStyle.Right;
373
LeftToolStripPanel.
Dock
= DockStyle.Left;
System.Windows.Forms.Tests (2)
System\Windows\Forms\ToolStripTests.cs (2)
2012
Dock
= parentDock
2130
Dock
= parentDock
13 references to Dock
System.Windows.Forms (3)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
603
return _owner is null && (
Dock
!= DockStyle.None);
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.cs (1)
149
toolStripPanelName = $"{toolStripPanel.Parent.Name}.{toolStripPanel.
Dock
}";
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.SettingsStub.cs (1)
35
ToolStripPanelName = $"{parentPanel.Parent.Name}.{parentPanel.
Dock
}";
System.Windows.Forms.Design (5)
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
47
switch (_relatedControl.
Dock
)
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (2)
100
DockStyle? dock = _relatedPanel?.
Dock
;
149
DockStyle? dock = _relatedPanel?.
Dock
;
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (2)
262
if (_containerSelectorGlyph is not null && Control.
Dock
== DockStyle.Top)
547
nameof(ToolStripPanel.
Dock
),
System.Windows.Forms.Tests (5)
System\Windows\Forms\ToolStripPanelTests.cs (1)
63
Assert.Equal(DockStyle.None, control.
Dock
);
ToolStripContainerTests.cs (4)
32
_toolStripContainer.TopToolStripPanel.
Dock
.Should().Be(DockStyle.Top);
33
_toolStripContainer.BottomToolStripPanel.
Dock
.Should().Be(DockStyle.Bottom);
34
_toolStripContainer.LeftToolStripPanel.
Dock
.Should().Be(DockStyle.Left);
35
_toolStripContainer.RightToolStripPanel.
Dock
.Should().Be(DockStyle.Right);