158 references to Fill
Accessibility_Core_App (1)
ContainerControls.Designer.cs (1)
466this.tabControl6.Dock = System.Windows.Forms.DockStyle.Fill;
DesignSurface (9)
MainForm.cs (7)
297toolStripContainer.Dock = DockStyle.Fill; 323splitContainer.Dock = DockStyle.Fill; 327richTextBox.Dock = DockStyle.Fill; 332userControl.Dock = DockStyle.Fill; 336scrollableControl.Dock = DockStyle.Fill; 388view.Dock = DockStyle.Fill; 433Dock = DockStyle.Fill,
MainForm.Designer.cs (2)
67this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill; 93this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
DesignSurfaceExt (1)
DesignSurfaceExt.cs (1)
237ctrl.Dock = DockStyle.Fill;
Microsoft.VisualStudio.LanguageServices (1)
LanguageService\AbstractLanguageService`2.VsCodeWindowManager.cs (1)
274Dock = DockStyle.Fill,
PresentationUI (19)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (2)
438this.tableLayoutPanel2.Dock = DockStyle.Fill; 460this.tableLayoutPanel4.Dock = DockStyle.Fill;
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (4)
105this._userInputtableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill; 124this._addButton.Dock = System.Windows.Forms.DockStyle.Fill; 132this._removeButton.Dock = System.Windows.Forms.DockStyle.Fill; 140this._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)
97this._flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (3)
53this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; 67this.flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; 89this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
MS\Internal\Documents\RMPermissions.Designer.cs (1)
150this.actionsFlowPanel.Dock = System.Windows.Forms.DockStyle.Fill;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (3)
83this.flowLayoutPanelMain.Dock = System.Windows.Forms.DockStyle.Fill; 153this.flowLayoutPanelTemplate.Dock = System.Windows.Forms.DockStyle.Fill; 303this.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)
74Dock = DockStyle.Fill,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
209Dock = DockStyle.Fill,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
646control.Dock = DockStyle.Fill;
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (1)
33Dock = 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)
2033if (child is SplitContainer splitContainer && splitContainer.Dock == DockStyle.Fill) 2291if (control is SplitContainer && control.Dock == DockStyle.Fill)
System\Windows\Forms\Layout\DefaultLayout.cs (3)
449case DockStyle.Fill: 503if (dockStyle != DockStyle.Fill) 508else if (dockStyle == DockStyle.Fill && CommonProperties.GetAutoSize(element))
System\Windows\Forms\Layout\TableLayout.cs (2)
697if (tlp.Dock is DockStyle.Top or DockStyle.Bottom or DockStyle.Fill) 823if (tlp.Dock is DockStyle.Left or DockStyle.Right or DockStyle.Fill)
System\Windows\Forms\MDI\MDIClient.cs (1)
39Dock = DockStyle.Fill;
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (1)
67Dock = DockStyle.Fill,
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
912_previewControl.Dock = DockStyle.Fill;
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
427case 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)
462Dock = DockStyle.Fill,
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
46_hostedControl.Dock = DockStyle.Fill;
System\ComponentModel\Design\ToolStripContainerActionList.cs (2)
92return dockProperty is null || (DockStyle?)dockProperty.GetValue(_toolStripContainer) == DockStyle.Fill; 125dockProp?.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)
28Dock = DockStyle.Fill;
System\Windows\Forms\Design\ControlDesigner.cs (2)
262case DockStyle.Fill: 1180dockProp.SetValue(Component, DockStyle.Fill);
System\Windows\Forms\Design\ControlDesigner.DockingActionList.cs (3)
32if (dockStyle == DockStyle.Fill) 66dockProp.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)
39Dock = DockStyle.Fill 100Dock = DockStyle.Fill, 122return DockStyle.Fill; 150case DockStyle.Fill:
System\Windows\Forms\Design\FormatControl.Designer.cs (1)
61formatGroupBox.Dock = DockStyle.Fill;
System\Windows\Forms\Design\ListBoxDesigner.cs (2)
26if (listBox.Dock is not DockStyle.Fill 44if (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)
171Dock = 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)
28new object[] { DockStyle.Fill, false },
System.Windows.Forms.Tests (44)
System\Windows\Forms\ControlTests.cs (4)
864using TableLayoutPanel table = new() { Dock = DockStyle.Fill, ColumnCount = 3 }; 871Dock = DockStyle.Fill, 882Dock = DockStyle.Fill, 893Dock = DockStyle.Fill,
System\Windows\Forms\ControlTests.Properties.cs (14)
790foreach (DockStyle dock in new DockStyle[] { DockStyle.Bottom, DockStyle.Fill, DockStyle.Left, DockStyle.Right, DockStyle.Top }) 4172yield return new object[] { DockStyle.Fill, 1 }; 4227yield return new object[] { DockStyle.Fill, DockStyle.Bottom, 1 }; 4233yield return new object[] { DockStyle.Bottom, DockStyle.Fill, 1 }; 4234yield return new object[] { DockStyle.Fill, DockStyle.Fill, 0 }; 4235yield return new object[] { DockStyle.Left, DockStyle.Fill, 1 }; 4236yield return new object[] { DockStyle.None, DockStyle.Fill, 1 }; 4237yield return new object[] { DockStyle.Right, DockStyle.Fill, 1 }; 4238yield return new object[] { DockStyle.Top, DockStyle.Fill, 1 }; 4241yield return new object[] { DockStyle.Fill, DockStyle.Left, 1 }; 4248yield return new object[] { DockStyle.Fill, DockStyle.None, 1 }; 4255yield return new object[] { DockStyle.Fill, DockStyle.Right, 1 }; 4262yield return new object[] { DockStyle.Fill, DockStyle.Top, 1 };
System\Windows\Forms\DataGridViewTests.Rendering.cs (1)
136Dock = DockStyle.Fill,
System\Windows\Forms\LayoutEventArgsTests.cs (1)
66Dock = DockStyle.Fill
System\Windows\Forms\MdiClientTests.cs (1)
47Assert.Equal(DockStyle.Fill, control.Dock);
System\Windows\Forms\PropertyGridInternal\PropertyGridView.DropDownHolderTests.cs (1)
52Assert.Equal(DockStyle.Fill, listBox.Dock);
System\Windows\Forms\SplitterTests.cs (1)
725[InlineData(DockStyle.Fill)]
System\Windows\Forms\StatusStripTests.cs (5)
244yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Fill, 1, Orientation.Horizontal, 1 }; 245yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Fill, 1, Orientation.Horizontal, 0 }; 246yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Fill, 1, Orientation.Horizontal, 1 }; 247yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Fill, 1, Orientation.Horizontal, 1 }; 248yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Fill, 1, Orientation.Vertical, 0 };
System\Windows\Forms\ToolStripTests.cs (15)
2337yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Fill, 1, Orientation.Horizontal, 1 }; 2338yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Fill, 1, Orientation.Horizontal, 0 }; 2339yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Fill, 1, Orientation.Horizontal, 1 }; 2340yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Fill, 1, Orientation.Horizontal, 1 }; 2341yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Fill, 1, Orientation.Vertical, 0 }; 2420yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Fill, Orientation.Horizontal, 0, 1, 1 }; 2421yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Fill, Orientation.Horizontal, 1, 0, 1 }; 2422yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Fill, Orientation.Horizontal, 0, 1, 1 }; 2423yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Fill, Orientation.Horizontal, 0, 1, 1 }; 2424yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Fill, Orientation.Vertical, 0, 0, 1 }; 2526yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Fill, Orientation.Horizontal, 1 }; 2527yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Fill, Orientation.Horizontal, 1 }; 2528yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Fill, Orientation.Horizontal, 1 }; 2529yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Fill, Orientation.Horizontal, 1 }; 2530yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Fill, Orientation.Horizontal, 1 };
System\Windows\Forms\WebBrowserTests.cs (1)
4761Dock = DockStyle.Fill
System.Windows.Forms.UI.IntegrationTests (4)
AnchorLayoutTests.cs (2)
147container.Dock = DockStyle.Fill; 176container.Dock = DockStyle.Fill;
DesignBehaviorsTests.cs (1)
85rootView.Dock = DockStyle.Fill;
ListViewTests.cs (1)
573Dock = DockStyle.Fill
TrimTest (2)
Form1.Designer.cs (2)
46splitContainer1.Dock = DockStyle.Fill; 65textBox1.Dock = DockStyle.Fill;
WinFormsControlsTest (25)
Buttons.cs (4)
28Dock = DockStyle.Fill, 42Dock = DockStyle.Fill, 63Dock = DockStyle.Fill, 84Dock = DockStyle.Fill,
Dialogs.Designer.cs (1)
53this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
DockLayoutTests.Designer.cs (1)
85this.button5.Dock = System.Windows.Forms.DockStyle.Fill;
DragDrop.Designer.cs (8)
70tableLayoutPanel1.Dock = DockStyle.Fill; 85textBox.Dock = DockStyle.Fill; 96richTextBox.Dock = DockStyle.Fill; 108pictureBox1.Dock = DockStyle.Fill; 119pictureBox2.Dock = DockStyle.Fill; 130pictureBox3.Dock = DockStyle.Fill; 141pictureBox4.Dock = DockStyle.Fill; 152pictureBox5.Dock = DockStyle.Fill;
FormOwnerTestForm.cs (1)
49Dock = DockStyle.Fill,
ListViewTest.Designer.cs (1)
85this.listView1.Dock = DockStyle.Fill;
MainForm.Designer.cs (1)
40this.overarchingFlowLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
MdiChild.Designer.cs (1)
54this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
MediaPlayer.Designer.cs (1)
43this.axWindowsMediaPlayer1.Dock = System.Windows.Forms.DockStyle.Fill;
MessageBoxes.Designer.cs (1)
41this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
PropertyGrid.Designer.cs (1)
40this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
RichTextBoxes.Designer.cs (1)
51this.richTextBox2.Dock = System.Windows.Forms.DockStyle.Fill;
Splitter.Designer.cs (1)
41this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
TaskDialogSamples.cs (1)
22Dock = DockStyle.Fill,
ToolTipTests.Designer.cs (1)
91this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;