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