5 overrides of Anchor
System.Windows.Forms (5)
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
69
public override AnchorStyles
Anchor
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
272
public override AnchorStyles
Anchor
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
347
public override AnchorStyles
Anchor
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
51
public override AnchorStyles
Anchor
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
515
public override AnchorStyles
Anchor
145 writes to Anchor
Accessibility_Core_App (13)
CommonControl1.Designer.cs (13)
127
this.button1.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
171
this.button3.
Anchor
= System.Windows.Forms.AnchorStyles.Right;
183
this.button4.
Anchor
= System.Windows.Forms.AnchorStyles.Bottom;
206
this.button2.
Anchor
= System.Windows.Forms.AnchorStyles.Top;
429
this.linkLabel6.
Anchor
= System.Windows.Forms.AnchorStyles.Top;
441
this.linkLabel5.
Anchor
= System.Windows.Forms.AnchorStyles.Bottom;
453
this.linkLabel4.
Anchor
= System.Windows.Forms.AnchorStyles.Right;
465
this.linkLabel3.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
477
this.label6.
Anchor
= System.Windows.Forms.AnchorStyles.Bottom;
488
this.label5.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
499
this.label4.
Anchor
= System.Windows.Forms.AnchorStyles.Right;
510
this.label3.
Anchor
= System.Windows.Forms.AnchorStyles.Top;
654
this.dateTimePicker2.
Anchor
= System.Windows.Forms.AnchorStyles.Bottom;
NativeHost.ManagedControl (1)
ManagedControl.Designer.cs (1)
37
this.button1.
Anchor
= System.Windows.Forms.AnchorStyles.None;
PresentationUI (32)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (2)
111
this._okButton.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
386
this._identifierLabel.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (2)
74
this._buttonFlowLayoutPanel.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
113
this._listButtonFlowLayoutPanel.
Anchor
= System.Windows.Forms.AnchorStyles.Top;
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (10)
56
_buttomControlLayoutpanel.
Anchor
= System.Windows.Forms.AnchorStyles.Right;
88
_divider.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
122
_dateTimePicker.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
133
_requestedLocationTextBox.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
142
_signatureAppliedByDateLabel.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
151
_requestSignerNameLabel.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
160
_requestLocationLabel.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
169
_requestedSignerNameTextBox.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
178
_intentLabel.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
187
_intentComboBox.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (2)
179
this._pictureBox2.
Anchor
= System.Windows.Forms.AnchorStyles.None;
198
this._pictureBox4.
Anchor
= System.Windows.Forms.AnchorStyles.None;
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (2)
100
this.label3.
Anchor
= System.Windows.Forms.AnchorStyles.Bottom;
110
this.progressBar1.
Anchor
= System.Windows.Forms.AnchorStyles.Top;
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (1)
65
_divider.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
MS\Internal\Documents\SigningDialog.Designer.cs (13)
60
_userInputFlowPanel.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
99
_addDigSigCheckBox.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
108
_signerlabel.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
117
_addDocPropCheckBox.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
128
_reasonLabel.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
136
_reasonComboBox.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
146
_actionlabel.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
155
_locationLabel.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
164
_locationTextBox.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
173
_divider.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
194
_cancelButton.
Anchor
= ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
209
_signButton.
Anchor
= ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
223
_signSaveAsButton.
Anchor
= ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
System.Windows.Forms (12)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
184
Anchor
= AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right,
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
275
set => base.
Anchor
= value;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
356
base.
Anchor
= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
54
set => base.
Anchor
= value;
System\Windows\Forms\Panels\SplitterPanel.cs (1)
70
set => base.
Anchor
= value;
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (2)
46
Anchor
= AnchorStyles.None
58
Anchor
= AnchorStyles.None
System\Windows\Forms\Printing\PrintPreviewControl.cs (4)
68
Anchor
= AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Right,
82
Anchor
= AnchorStyles.Top | AnchorStyles.Right | AnchorStyles.Bottom,
823
_vScrollBar.
Anchor
= AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Bottom;
828
_vScrollBar.
Anchor
= AnchorStyles.Top | AnchorStyles.Right | AnchorStyles.Bottom;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
518
set => base.
Anchor
= value;
System.Windows.Forms.Design (20)
System\Drawing\Design\ContentAlignmentEditor.ContentUI.cs (12)
185
_topCenter.
Anchor
= AnchorStyles.None;
186
_topRight.
Anchor
= AnchorStyles.None;
187
_middleCenter.
Anchor
= AnchorStyles.None;
188
_middleRight.
Anchor
= AnchorStyles.None;
189
_bottomCenter.
Anchor
= AnchorStyles.None;
190
_bottomRight.
Anchor
= AnchorStyles.None;
194
_topCenter.
Anchor
= DefaultCenterAnchor;
195
_topRight.
Anchor
= DefaultRightAnchor;
196
_middleCenter.
Anchor
= DefaultCenterAnchor;
197
_middleRight.
Anchor
= DefaultRightAnchor;
198
_bottomCenter.
Anchor
= DefaultCenterAnchor;
199
_bottomRight.
Anchor
= DefaultRightAnchor;
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (6)
81
_container.
Anchor
= AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Right;
85
_control.
Anchor
= AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Right;
91
_right.
Anchor
= AnchorStyles.Right;
98
_left.
Anchor
= AnchorStyles.Left;
105
_top.
Anchor
= AnchorStyles.Top;
112
_bottom.
Anchor
= AnchorStyles.Bottom;
System\Windows\Forms\Design\DockEditor.DockUI.cs (1)
38
Anchor
= AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Right,
System\Windows\Forms\Design\FormatControl.cs (1)
312
Anchor
= AnchorStyles.Left | AnchorStyles.Right,
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\InheritedPropertyDescriptorTests.cs (1)
34
control.
Anchor
= AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Bottom;
System.Windows.Forms.Tests (22)
System\Windows\Forms\ControlTests.Properties.cs (22)
341
control.
Anchor
= value;
348
control.
Anchor
= value;
361
Anchor
= AnchorStyles.Left
366
control.
Anchor
= value;
373
control.
Anchor
= value;
430
control.
Anchor
= value;
438
control.
Anchor
= value;
486
control.
Anchor
= value;
494
control.
Anchor
= value;
559
Anchor
= oldValue,
577
control.
Anchor
= value;
585
control.
Anchor
= value;
682
Anchor
= oldValue,
710
control.
Anchor
= value;
719
control.
Anchor
= value;
774
control.
Anchor
= value;
781
control.
Anchor
= value;
844
control.
Anchor
= value;
852
control.
Anchor
= value;
880
control.
Anchor
= value;
890
control.
Anchor
= value;
4332
Anchor
= anchor
System.Windows.Forms.UI.IntegrationTests (4)
AnchorLayoutTests.cs (1)
283
Anchor
= buttonAnchors
ButtonTests.cs (2)
165
button.
Anchor
= AnchorStyles.Left | AnchorStyles.Right;
195
button.
Anchor
= AnchorStyles.Top | AnchorStyles.Bottom;
ImageListTests.cs (1)
101
Anchor
= AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left,
TrimTest (1)
Form1.Designer.cs (1)
78
comboBox1.
Anchor
= AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
WinFormsControlsTest (39)
AnchorLayoutTests.Designer.cs (8)
56
this.button2.
Anchor
= System.Windows.Forms.AnchorStyles.Top;
66
this.button3.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
76
this.button4.
Anchor
= System.Windows.Forms.AnchorStyles.Left;
86
this.button5.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
96
this.button6.
Anchor
= ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
108
this.button7.
Anchor
= System.Windows.Forms.AnchorStyles.Right;
118
this.button8.
Anchor
= System.Windows.Forms.AnchorStyles.Bottom;
128
this.button9.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
Calendar.Designer.cs (14)
54
this.monthCalendar1.
Anchor
= ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
72
this.minDateDateTimePicker.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
80
this.setMinDateButton.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
91
this.label1.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
101
this.label2.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
111
this.setMaxDateButton.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
122
this.maxDateDateTimePicker.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
130
this.label3.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
140
this.daysOfWeekComboBox.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
168
this.resetMinDateButton.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
179
this.resetMaxDateButton.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
190
this.showWeekNumbersCheckBox.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
202
this.showTodayCheckBox.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
214
this.label5.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
CollectionEditors.Designer.cs (1)
80
this.propertyGrid1.
Anchor
= ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
DataGridViewInVirtualModeTest.Designer.cs (1)
44
this.dataGridView1.
Anchor
= ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
DataGridViewTest.Designer.cs (5)
82
this.dataGridView1.
Anchor
= ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
146
this.changeFontButton.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)));
159
this.numericUpDown1.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)));
184
this.label1.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)));
194
this.resetFontButton.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)));
DragDrop.Designer.cs (2)
177
buttonOpenCats.
Anchor
= AnchorStyles.Bottom | AnchorStyles.Right;
187
buttonClear.
Anchor
= AnchorStyles.Bottom | AnchorStyles.Right;
ListViewTest.Designer.cs (1)
66
this.listView1.
Anchor
= System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left;
PictureBoxes.Designer.cs (3)
42
this.pictureBox1.
Anchor
= ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
57
this.btnloadImage.
Anchor
= ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
69
this.imageUri.
Anchor
= ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
TaskDialogSamples.cs (1)
36
Anchor
= AnchorStyles.Left | AnchorStyles.Right,
TrackBars.cs (2)
44
trackBar1.
Anchor
= AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
51
trackBar1.
Anchor
= AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Bottom;
TrackBars.Designer.cs (1)
58
this.trackBar1.
Anchor
= ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
91 references to Anchor
System.Windows.Forms (11)
System\Windows\Forms\Controls\Labels\Label.cs (2)
827
((
Anchor
& (AnchorStyles.Left | AnchorStyles.Right)) == (AnchorStyles.Left | AnchorStyles.Right) ||
828
(
Anchor
& (AnchorStyles.Top | AnchorStyles.Bottom)) == (AnchorStyles.Top | AnchorStyles.Bottom)))
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
274
get => base.
Anchor
;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1181
if (returnIfAnchored && (
Anchor
& (AnchorStyles.Top | AnchorStyles.Bottom)) == (AnchorStyles.Top | AnchorStyles.Bottom))
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
349
get => base.
Anchor
;
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
53
get => base.
Anchor
;
System\Windows\Forms\Layout\TableLayout.cs (2)
702
if ((tlp.
Anchor
& (AnchorStyles.Left | AnchorStyles.Right)) == (AnchorStyles.Left | AnchorStyles.Right))
828
if ((tlp.
Anchor
& (AnchorStyles.Top | AnchorStyles.Bottom)) == (AnchorStyles.Top | AnchorStyles.Bottom))
System\Windows\Forms\Panels\SplitterPanel.cs (1)
69
get => base.
Anchor
;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
517
get => base.
Anchor
;
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
433
AnchorStyles anchor = richCurrent.
Anchor
;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\AnchorEditor.cs (1)
10
/// Provides a design-time editor for specifying the <see cref="Control.
Anchor
"/> property.
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
545
nameof(ToolStripPanel.
Anchor
),
System.Windows.Forms.Design.Tests (2)
System\ComponentModel\Design\ByteViewerTests.cs (1)
22
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\Design\InheritedPropertyDescriptorTests.cs (1)
29
InheritedPropertyDescriptor inheritedPropertyDescriptor = control.GetInheritedPropertyDescriptor(nameof(Control.
Anchor
));
System.Windows.Forms.Tests (75)
System\Windows\Forms\AxHostTests.cs (2)
35
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
129
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\ButtonBaseTests.cs (1)
26
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\ButtonTests.cs (1)
27
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\CheckBoxTests.cs (1)
26
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\ComboBoxTests.cs (1)
28
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\ContainerControlTests.cs (1)
25
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\ControlTests.cs (5)
22
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
111
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
207
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
303
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
399
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\ControlTests.Properties.cs (30)
342
Assert.Equal(expected, control.
Anchor
);
349
Assert.Equal(expected, control.
Anchor
);
367
Assert.Equal(expected, control.
Anchor
);
374
Assert.Equal(expected, control.
Anchor
);
431
Assert.Equal(expected, control.
Anchor
);
439
Assert.Equal(expected, control.
Anchor
);
487
Assert.Equal(expected, control.
Anchor
);
495
Assert.Equal(expected, control.
Anchor
);
578
Assert.Equal(expected, control.
Anchor
);
586
Assert.Equal(expected, control.
Anchor
);
711
Assert.Equal(expected, control.
Anchor
);
720
Assert.Equal(expected, control.
Anchor
);
775
Assert.Equal(expectedAnchor, control.
Anchor
);
782
Assert.Equal(expectedAnchor, control.
Anchor
);
845
Assert.Equal(expectedAnchor, control.
Anchor
);
853
Assert.Equal(expectedAnchor, control.
Anchor
);
881
Assert.Equal(expected, control.
Anchor
);
891
Assert.Equal(expected, control.
Anchor
);
4132
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
4139
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
4157
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
4164
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
4205
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
4213
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
4296
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
4304
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
4337
Assert.Equal(expectedAnchor, control.
Anchor
);
4342
Assert.Equal(expectedAnchor, control.
Anchor
);
4362
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
4372
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
27
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\DateTimePickerTests.cs (1)
29
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
27
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
23
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\DomainUpDownTests.cs (1)
34
_sub.
Anchor
.Should().Be(AnchorStyles.Top | AnchorStyles.Left);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
22
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\FormTests.cs (1)
25
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\GroupBoxTests.cs (1)
24
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\HScrollBarTests.cs (1)
22
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\LabelTests.cs (1)
23
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\ListBoxTests.cs (1)
25
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\ListControlTests.cs (1)
26
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\ListViewTests.cs (1)
30
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\MdiClientTests.cs (1)
24
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\MonthCalendarTests.cs (1)
26
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\PanelTests.cs (1)
23
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\PictureBoxTests.cs (1)
27
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\ProgressBarTests.cs (1)
24
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\PropertyGridTests.cs (1)
30
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\RadioButtonTests.cs (1)
26
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\RichTextBoxTests.cs (1)
34
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\ScrollableControlTests.cs (1)
24
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\ScrollBarTests.cs (1)
23
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\TabControlTests.cs (1)
26
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
24
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\ToolStripPanelTests.cs (1)
22
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\TreeViewTests.cs (1)
23
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\UpDownBaseTests.cs (1)
20
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\UserControlTests.cs (1)
26
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\VScrollBarTests.cs (1)
21
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System\Windows\Forms\WebBrowserTests.cs (1)
24
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
TextBoxTests.cs (1)
26
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
TrackBarTests.cs (1)
25
Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, control.
Anchor
);
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridInternal\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObjectTests.cs (1)
89
grid.SelectedEntry = grid[nameof(Button.
Anchor
)];