Base:
property
Dock
System.Windows.Forms.Control.Dock
2 overrides of Dock
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
104public override DockStyle Dock
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
288public override DockStyle Dock
36 writes to Dock
Accessibility_Core_App (2)
ToolStripContainer.Designer.cs (2)
120this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom; 330this.menuStrip1.Dock = System.Windows.Forms.DockStyle.None;
DesignSurface (1)
MainForm.cs (1)
364bindingNavigator.Dock = DockStyle.Bottom;
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
191_toolStrip.Dock = DockStyle.None;
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
107set => base.Dock = value;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
148Dock = DefaultDock;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
291set => base.Dock = value;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
383Dock = DockStyle.Top
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1490_miniToolStrip.Dock = DockStyle.None;
System.Windows.Forms.Tests (25)
System\Windows\Forms\AccessibleObjects\MenuStrip.MenuStripAccessibleObjectTests.cs (1)
920menuStrip.Dock = dock.Value;
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (1)
961toolStrip.Dock = dock.Value;
System\Windows\Forms\ToolStripTests.cs (23)
1751Dock = dock, 1778Dock = dock, 1882Dock = dock, 1914Dock = dock, 2018Dock = dock, 2137Dock = dock, 2394control.Dock = value; 2403control.Dock = value; 2493control.Dock = value; 2503control.Dock = value; 2599control.Dock = value; 2609control.Dock = value; 2629Dock = DockStyle.None 2641control.Dock = DockStyle.Top; 2646control.Dock = DockStyle.Top; 2651control.Dock = DockStyle.Left; 2657control.Dock = DockStyle.Top; 2667Assert.Throws<InvalidEnumArgumentException>("value", () => control.Dock = value); 2894Dock = dock 2923Dock = dock 2987Dock = dock 3089Dock = dock, 3150Dock = dock
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
1020Dock = DockStyle.Right,
WinFormsControlsTest (1)
DragDrop.cs (1)
441Dock = DockStyle.Right,
27 references to Dock
System.Windows.Forms (10)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
106get => base.Dock;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (7)
587direction = ((Dock == DockStyle.Right) && (RightToLeft == RightToLeft.No)) ? ToolStripDropDownDirection.Left : ToolStripDropDownDirection.Right; 588if (DesignMode && Dock == DockStyle.Left) 596DockStyle dock = Dock; 646if (value != Dock) 656UpdateLayoutStyle(Dock); 1238UpdateLayoutStyle(Dock); 1453UpdateLayoutStyle(Dock);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
290get => base.Dock;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (1)
366DockStyle dock = toolStrip.Dock;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ChangeToolStripParentVerb.cs (1)
123DockStyle dock = c.Dock;
System.Windows.Forms.Tests (16)
System\Windows\Forms\MenuStripTests.cs (1)
67Assert.Equal(DockStyle.Top, control.Dock);
System\Windows\Forms\ToolStripTests.cs (15)
82Assert.Equal(DockStyle.Top, control.Dock); 236Assert.Equal(DockStyle.Top, control.Dock); 786Assert.Equal(expectedDock, control.Dock); 793Assert.Equal(expectedDock, control.Dock); 2321Assert.Equal(DockStyle.Right, control.Dock); 2395Assert.Equal(value, control.Dock); 2404Assert.Equal(value, control.Dock); 2494Assert.Equal(value, control.Dock); 2504Assert.Equal(value, control.Dock); 2600Assert.Equal(value, control.Dock); 2610Assert.Equal(value, control.Dock); 2642Assert.Equal(DockStyle.Top, control.Dock); 2647Assert.Equal(DockStyle.Top, control.Dock); 2652Assert.Equal(DockStyle.Left, control.Dock); 2658Assert.Equal(DockStyle.Top, control.Dock);