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; 367RightToolStripPanel.Dock = DockStyle.Left; 368LeftToolStripPanel.Dock = DockStyle.Right; 372RightToolStripPanel.Dock = DockStyle.Right; 373LeftToolStripPanel.Dock = DockStyle.Left;
System.Windows.Forms.Tests (2)
System\Windows\Forms\ToolStripTests.cs (2)
2012Dock = parentDock 2130Dock = parentDock
13 references to Dock
System.Windows.Forms (3)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
603return _owner is null && (Dock != DockStyle.None);
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.cs (1)
149toolStripPanelName = $"{toolStripPanel.Parent.Name}.{toolStripPanel.Dock}";
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.SettingsStub.cs (1)
35ToolStripPanelName = $"{parentPanel.Parent.Name}.{parentPanel.Dock}";
System.Windows.Forms.Design (5)
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
47switch (_relatedControl.Dock)
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (2)
100DockStyle? dock = _relatedPanel?.Dock; 149DockStyle? dock = _relatedPanel?.Dock;
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (2)
262if (_containerSelectorGlyph is not null && Control.Dock == DockStyle.Top) 547nameof(ToolStripPanel.Dock),
System.Windows.Forms.Tests (5)
System\Windows\Forms\ToolStripPanelTests.cs (1)
63Assert.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);