158 references to Fill
Accessibility_Core_App (1)
ContainerControls.Designer.cs (1)
466
this.tabControl6.Dock = System.Windows.Forms.DockStyle.
Fill
;
DesignSurface (9)
MainForm.cs (7)
297
toolStripContainer.Dock = DockStyle.
Fill
;
323
splitContainer.Dock = DockStyle.
Fill
;
327
richTextBox.Dock = DockStyle.
Fill
;
332
userControl.Dock = DockStyle.
Fill
;
336
scrollableControl.Dock = DockStyle.
Fill
;
388
view.Dock = DockStyle.
Fill
;
433
Dock = DockStyle.
Fill
,
MainForm.Designer.cs (2)
67
this.splitContainer.Dock = System.Windows.Forms.DockStyle.
Fill
;
93
this.tabControl1.Dock = System.Windows.Forms.DockStyle.
Fill
;
DesignSurfaceExt (1)
DesignSurfaceExt.cs (1)
237
ctrl.Dock = DockStyle.
Fill
;
Microsoft.VisualStudio.LanguageServices (1)
LanguageService\AbstractLanguageService`2.VsCodeWindowManager.cs (1)
274
Dock = DockStyle.
Fill
,
PresentationUI (19)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (2)
438
this.tableLayoutPanel2.Dock = DockStyle.
Fill
;
460
this.tableLayoutPanel4.Dock = DockStyle.
Fill
;
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (4)
105
this._userInputtableLayoutPanel.Dock = System.Windows.Forms.DockStyle.
Fill
;
124
this._addButton.Dock = System.Windows.Forms.DockStyle.
Fill
;
132
this._removeButton.Dock = System.Windows.Forms.DockStyle.
Fill
;
140
this._credListBox.Dock = System.Windows.Forms.DockStyle.
Fill
;
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (2)
66
_panel1.Dock = System.Windows.Forms.DockStyle.
Fill
;
76
_flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.
Fill
;
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (1)
97
this._flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.
Fill
;
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (3)
53
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.
Fill
;
67
this.flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.
Fill
;
89
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.
Fill
;
MS\Internal\Documents\RMPermissions.Designer.cs (1)
150
this.actionsFlowPanel.Dock = System.Windows.Forms.DockStyle.
Fill
;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (3)
83
this.flowLayoutPanelMain.Dock = System.Windows.Forms.DockStyle.
Fill
;
153
this.flowLayoutPanelTemplate.Dock = System.Windows.Forms.DockStyle.
Fill
;
303
this.flowLayoutPanelActions.Dock = System.Windows.Forms.DockStyle.
Fill
;
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (2)
149
_listBoxSummary.Dock = System.Windows.Forms.DockStyle.
Fill
;
176
_listboxItemPanel.Dock = System.Windows.Forms.DockStyle.
Fill
;
MS\Internal\Documents\SigningDialog.Designer.cs (1)
184
_buttonflowLayoutPanel.Dock = System.Windows.Forms.DockStyle.
Fill
;
System.Windows.Forms (17)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.cs (1)
74
Dock = DockStyle.
Fill
,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
209
Dock = DockStyle.
Fill
,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
646
control.Dock = DockStyle.
Fill
;
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (1)
33
Dock = DockStyle.
Fill
System\Windows\Forms\Layout\CommonProperties.cs (2)
272
/// to <see cref="DockStyle.
Fill
"/>, then <see cref="DockStyle.None"/>. When filled, the <see cref="Control.Size"/>
277
/// Setting the control to <see cref="DockStyle.
Fill
"/> (via <see cref="DefaultLayout"/> engine)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (2)
2033
if (child is SplitContainer splitContainer && splitContainer.Dock == DockStyle.
Fill
)
2291
if (control is SplitContainer && control.Dock == DockStyle.
Fill
)
System\Windows\Forms\Layout\DefaultLayout.cs (3)
449
case DockStyle.
Fill
:
503
if (dockStyle != DockStyle.
Fill
)
508
else if (dockStyle == DockStyle.
Fill
&& CommonProperties.GetAutoSize(element))
System\Windows\Forms\Layout\TableLayout.cs (2)
697
if (tlp.Dock is DockStyle.Top or DockStyle.Bottom or DockStyle.
Fill
)
823
if (tlp.Dock is DockStyle.Left or DockStyle.Right or DockStyle.
Fill
)
System\Windows\Forms\MDI\MDIClient.cs (1)
39
Dock = DockStyle.
Fill
;
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (1)
67
Dock = DockStyle.
Fill
,
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
912
_previewControl.Dock = DockStyle.
Fill
;
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
427
case DockStyle.
Fill
:
System.Windows.Forms.Design (31)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (1)
177
_byteViewer.Dock = DockStyle.
Fill
;
System\ComponentModel\Design\ByteViewer.cs (1)
462
Dock = DockStyle.
Fill
,
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
46
_hostedControl.Dock = DockStyle.
Fill
;
System\ComponentModel\Design\ToolStripContainerActionList.cs (2)
92
return dockProperty is null || (DockStyle?)dockProperty.GetValue(_toolStripContainer) == DockStyle.
Fill
;
125
dockProp?.SetValue(_toolStripContainer, DockStyle.
Fill
);
System\Drawing\Design\ColorEditor.ColorUI.cs (3)
175
_tabControl.Dock = DockStyle.
Fill
;
189
_lbSystem.Dock = DockStyle.
Fill
;
203
_lbCommon.Dock = DockStyle.
Fill
;
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (1)
28
Dock = DockStyle.
Fill
;
System\Windows\Forms\Design\ControlDesigner.cs (2)
262
case DockStyle.
Fill
:
1180
dockProp.SetValue(Component, DockStyle.
Fill
);
System\Windows\Forms\Design\ControlDesigner.DockingActionList.cs (3)
32
if (dockStyle == DockStyle.
Fill
)
66
dockProp.SetValue(Component, dockStyle == DockStyle.
Fill
? DockStyle.None : DockStyle.
Fill
);
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.Picker.cs (1)
29
_typesListBox.Dock = DockStyle.
Fill
;
System\Windows\Forms\Design\DesignBindingPicker.cs (6)
224
_treeViewCtrl!.Dock = DockStyle.
Fill
;
225
_addNewCtrl.Dock = DockStyle.
Fill
;
227
_helpTextCtrl.Dock = DockStyle.
Fill
;
242
_treeViewCtrl.Dock = DockStyle.
Fill
;
286
_addNewCtrl.Dock = DockStyle.
Fill
;
329
_helpTextCtrl.Dock = DockStyle.
Fill
;
System\Windows\Forms\Design\DesignerFrame.cs (1)
51
_designerRegion.Dock = DockStyle.
Fill
;
System\Windows\Forms\Design\DockEditor.DockUI.cs (4)
39
Dock = DockStyle.
Fill
100
Dock = DockStyle.
Fill
,
122
return DockStyle.
Fill
;
150
case DockStyle.
Fill
:
System\Windows\Forms\Design\FormatControl.Designer.cs (1)
61
formatGroupBox.Dock = DockStyle.
Fill
;
System\Windows\Forms\Design\ListBoxDesigner.cs (2)
26
if (listBox.Dock is not DockStyle.
Fill
44
if (value is DockStyle.
Fill
or DockStyle.Left or DockStyle.Right)
System\Windows\Forms\Design\MaskedTextBoxTextEditorDropDown.cs (1)
24
_cloneMtb.Dock = DockStyle.
Fill
;
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (1)
171
Dock = DockStyle.
Fill
;
System.Windows.Forms.Design.Tests (4)
ControlDesignerTests.cs (3)
93
[InlineData(DockStyle.
Fill
, SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.LeftSizeable | SelectionRules.RightSizeable | SelectionRules.BottomSizeable)]
264
_designer._control.Dock = DockStyle.
Fill
;
330
[InlineData(DockingBehavior.AutoDock, DockStyle.
Fill
)]
System\Windows\Forms\Design\ListBoxDesignerTests.cs (1)
28
new object[] { DockStyle.
Fill
, false },
System.Windows.Forms.Tests (44)
System\Windows\Forms\ControlTests.cs (4)
864
using TableLayoutPanel table = new() { Dock = DockStyle.
Fill
, ColumnCount = 3 };
871
Dock = DockStyle.
Fill
,
882
Dock = DockStyle.
Fill
,
893
Dock = DockStyle.
Fill
,
System\Windows\Forms\ControlTests.Properties.cs (14)
790
foreach (DockStyle dock in new DockStyle[] { DockStyle.Bottom, DockStyle.
Fill
, DockStyle.Left, DockStyle.Right, DockStyle.Top })
4172
yield return new object[] { DockStyle.
Fill
, 1 };
4227
yield return new object[] { DockStyle.
Fill
, DockStyle.Bottom, 1 };
4233
yield return new object[] { DockStyle.Bottom, DockStyle.
Fill
, 1 };
4234
yield return new object[] { DockStyle.
Fill
, DockStyle.
Fill
, 0 };
4235
yield return new object[] { DockStyle.Left, DockStyle.
Fill
, 1 };
4236
yield return new object[] { DockStyle.None, DockStyle.
Fill
, 1 };
4237
yield return new object[] { DockStyle.Right, DockStyle.
Fill
, 1 };
4238
yield return new object[] { DockStyle.Top, DockStyle.
Fill
, 1 };
4241
yield return new object[] { DockStyle.
Fill
, DockStyle.Left, 1 };
4248
yield return new object[] { DockStyle.
Fill
, DockStyle.None, 1 };
4255
yield return new object[] { DockStyle.
Fill
, DockStyle.Right, 1 };
4262
yield return new object[] { DockStyle.
Fill
, DockStyle.Top, 1 };
System\Windows\Forms\DataGridViewTests.Rendering.cs (1)
136
Dock = DockStyle.
Fill
,
System\Windows\Forms\LayoutEventArgsTests.cs (1)
66
Dock = DockStyle.
Fill
System\Windows\Forms\MdiClientTests.cs (1)
47
Assert.Equal(DockStyle.
Fill
, control.Dock);
System\Windows\Forms\PropertyGridInternal\PropertyGridView.DropDownHolderTests.cs (1)
52
Assert.Equal(DockStyle.
Fill
, listBox.Dock);
System\Windows\Forms\SplitterTests.cs (1)
725
[InlineData(DockStyle.
Fill
)]
System\Windows\Forms\StatusStripTests.cs (5)
244
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Fill
, 1, Orientation.Horizontal, 1 };
245
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Fill
, 1, Orientation.Horizontal, 0 };
246
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Fill
, 1, Orientation.Horizontal, 1 };
247
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Fill
, 1, Orientation.Horizontal, 1 };
248
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Fill
, 1, Orientation.Vertical, 0 };
System\Windows\Forms\ToolStripTests.cs (15)
2337
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Fill
, 1, Orientation.Horizontal, 1 };
2338
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Fill
, 1, Orientation.Horizontal, 0 };
2339
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Fill
, 1, Orientation.Horizontal, 1 };
2340
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Fill
, 1, Orientation.Horizontal, 1 };
2341
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Fill
, 1, Orientation.Vertical, 0 };
2420
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Fill
, Orientation.Horizontal, 0, 1, 1 };
2421
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Fill
, Orientation.Horizontal, 1, 0, 1 };
2422
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Fill
, Orientation.Horizontal, 0, 1, 1 };
2423
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Fill
, Orientation.Horizontal, 0, 1, 1 };
2424
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Fill
, Orientation.Vertical, 0, 0, 1 };
2526
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Fill
, Orientation.Horizontal, 1 };
2527
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Fill
, Orientation.Horizontal, 1 };
2528
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Fill
, Orientation.Horizontal, 1 };
2529
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Fill
, Orientation.Horizontal, 1 };
2530
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Fill
, Orientation.Horizontal, 1 };
System\Windows\Forms\WebBrowserTests.cs (1)
4761
Dock = DockStyle.
Fill
System.Windows.Forms.UI.IntegrationTests (4)
AnchorLayoutTests.cs (2)
147
container.Dock = DockStyle.
Fill
;
176
container.Dock = DockStyle.
Fill
;
DesignBehaviorsTests.cs (1)
85
rootView.Dock = DockStyle.
Fill
;
ListViewTests.cs (1)
573
Dock = DockStyle.
Fill
TrimTest (2)
Form1.Designer.cs (2)
46
splitContainer1.Dock = DockStyle.
Fill
;
65
textBox1.Dock = DockStyle.
Fill
;
WinFormsControlsTest (25)
Buttons.cs (4)
28
Dock = DockStyle.
Fill
,
42
Dock = DockStyle.
Fill
,
63
Dock = DockStyle.
Fill
,
84
Dock = DockStyle.
Fill
,
Dialogs.Designer.cs (1)
53
this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.
Fill
;
DockLayoutTests.Designer.cs (1)
85
this.button5.Dock = System.Windows.Forms.DockStyle.
Fill
;
DragDrop.Designer.cs (8)
70
tableLayoutPanel1.Dock = DockStyle.
Fill
;
85
textBox.Dock = DockStyle.
Fill
;
96
richTextBox.Dock = DockStyle.
Fill
;
108
pictureBox1.Dock = DockStyle.
Fill
;
119
pictureBox2.Dock = DockStyle.
Fill
;
130
pictureBox3.Dock = DockStyle.
Fill
;
141
pictureBox4.Dock = DockStyle.
Fill
;
152
pictureBox5.Dock = DockStyle.
Fill
;
FormOwnerTestForm.cs (1)
49
Dock = DockStyle.
Fill
,
ListViewTest.Designer.cs (1)
85
this.listView1.Dock = DockStyle.
Fill
;
MainForm.Designer.cs (1)
40
this.overarchingFlowLayoutPanel.Dock = System.Windows.Forms.DockStyle.
Fill
;
MdiChild.Designer.cs (1)
54
this.panel1.Dock = System.Windows.Forms.DockStyle.
Fill
;
MediaPlayer.Designer.cs (1)
43
this.axWindowsMediaPlayer1.Dock = System.Windows.Forms.DockStyle.
Fill
;
MessageBoxes.Designer.cs (1)
41
this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.
Fill
;
PropertyGrid.Designer.cs (1)
40
this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.
Fill
;
RichTextBoxes.Designer.cs (1)
51
this.richTextBox2.Dock = System.Windows.Forms.DockStyle.
Fill
;
Splitter.Designer.cs (1)
41
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.
Fill
;
TaskDialogSamples.cs (1)
22
Dock = DockStyle.
Fill
,
ToolTipTests.Designer.cs (1)
91
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.
Fill
;