302 references to Bottom
Accessibility_Core_App (4)
CommonControl1.Designer.cs (4)
183
this.button4.Anchor = System.Windows.Forms.AnchorStyles.
Bottom
;
441
this.linkLabel5.Anchor = System.Windows.Forms.AnchorStyles.
Bottom
;
477
this.label6.Anchor = System.Windows.Forms.AnchorStyles.
Bottom
;
654
this.dateTimePicker2.Anchor = System.Windows.Forms.AnchorStyles.
Bottom
;
PresentationUI (5)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (1)
111
this._okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.
Bottom
| System.Windows.Forms.AnchorStyles.Right)));
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (1)
100
this.label3.Anchor = System.Windows.Forms.AnchorStyles.
Bottom
;
MS\Internal\Documents\SigningDialog.Designer.cs (3)
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 (42)
System\Windows\Forms\Controls\Labels\Label.cs (2)
828
(Anchor & (AnchorStyles.Top | AnchorStyles.
Bottom
)) == (AnchorStyles.Top | AnchorStyles.
Bottom
)))
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
1181
if (returnIfAnchored && (Anchor & (AnchorStyles.Top | AnchorStyles.
Bottom
)) == (AnchorStyles.Top | AnchorStyles.
Bottom
))
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
14
private const AnchorStyles AllAnchor = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.
Bottom
| AnchorStyles.Top;
16
private const AnchorStyles VerticalAnchor = AnchorStyles.Top | AnchorStyles.
Bottom
;
System\Windows\Forms\Layout\DefaultLayout.cs (11)
42
if ((anchor & (AnchorStyles.Top | AnchorStyles.
Bottom
)) == (AnchorStyles.Top | AnchorStyles.
Bottom
))
126
if ((anchor & AnchorStyles.
Bottom
) != AnchorStyles.None
209
if (IsAnchored(anchors, AnchorStyles.
Bottom
))
220
if (IsAnchored(anchors, AnchorStyles.
Bottom
))
264
if (IsAnchored(anchor, AnchorStyles.
Bottom
))
788
if (IsAnchored(anchor, AnchorStyles.
Bottom
))
917
bool bottomReleased = IsAnchored(oldValue, AnchorStyles.
Bottom
) && !IsAnchored(value, AnchorStyles.
Bottom
);
1133
if (!IsAnchored(anchor, AnchorStyles.
Bottom
))
1159
if (IsAnchored(anchor, AnchorStyles.
Bottom
))
System\Windows\Forms\Layout\FlowLayout.ElementProxy.cs (2)
26
bool isBottom = (anchorStyles & AnchorStyles.
Bottom
) != 0; // whether the control anchors to bottom and does not stretch;
43
return AnchorStyles.
Bottom
;
System\Windows\Forms\Layout\FlowLayout.VerticalElementProxy.cs (1)
37
return AnchorStyles.
Bottom
;
System\Windows\Forms\Layout\LayoutUtils.cs (13)
26
public const AnchorStyles VerticalAnchorStyles = AnchorStyles.Top | AnchorStyles.
Bottom
;
32
/* Bottom */ AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right,
33
/* Left */ AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.
Bottom
,
34
/* Right */ AnchorStyles.Right | AnchorStyles.Top | AnchorStyles.
Bottom
,
35
/* Fill */ AnchorStyles.Right | AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left
184
result |= AnchorStyles.
Bottom
;
189
case AnchorStyles.
Bottom
:
324
if ((anchorStyles & AnchorStyles.
Bottom
) != 0)
523
case AnchorStyles.
Bottom
:
554
region1 = SubstituteSpecifiedBounds(bounds, region1, AnchorStyles.
Bottom
);
557
case AnchorStyles.
Bottom
:
560
region2 = SubstituteSpecifiedBounds(bounds, region2, AnchorStyles.
Bottom
);
594
int bottom = (specified & AnchorStyles.
Bottom
) != 0 ? substitutionBounds.Bottom : originalBounds.Bottom;
System\Windows\Forms\Layout\TableLayout.cs (2)
828
if ((tlp.Anchor & (AnchorStyles.Top | AnchorStyles.
Bottom
)) == (AnchorStyles.Top | AnchorStyles.
Bottom
))
System\Windows\Forms\Layout\TextImageRelation.cs (1)
17
TextAboveImage = AnchorStyles.
Bottom
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\Scrolling\ScrollableControl.cs (2)
444
if ((anchor & AnchorStyles.
Bottom
) == AnchorStyles.
Bottom
)
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (6)
59
baseVar |= AnchorStyles.
Bottom
;
81
_container.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Bottom
| AnchorStyles.Right;
85
_control.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Bottom
| AnchorStyles.Right;
112
_bottom.Anchor = AnchorStyles.
Bottom
;
153
_bottom.IsSolid = (anchorStyles & AnchorStyles.
Bottom
) == AnchorStyles.
Bottom
;
System\Windows\Forms\Design\DockEditor.DockUI.cs (1)
38
Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Bottom
| AnchorStyles.Right,
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\InheritedPropertyDescriptorTests.cs (2)
34
control.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Bottom
;
36
anchor.Should().Be(AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Bottom
);
System.Windows.Forms.Tests (208)
System\Windows\Forms\ControlTests.Properties.cs (168)
310
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Bottom
, AnchorStyles.Top | AnchorStyles.
Bottom
};
311
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left };
312
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Right };
316
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right };
318
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.
Bottom
};
319
yield return new object[] { AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.
Bottom
| AnchorStyles.Left };
320
yield return new object[] { AnchorStyles.
Bottom
| AnchorStyles.Right, AnchorStyles.
Bottom
| AnchorStyles.Right };
321
yield return new object[] { AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right };
329
yield return new object[] { (AnchorStyles)(-1), AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right };
330
yield return new object[] { (AnchorStyles)int.MaxValue, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right };
383
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Bottom
, AnchorStyles.Top | AnchorStyles.
Bottom
, 1, 1 };
384
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, 1, 1 };
385
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Right, 1, 1 };
389
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, 1, 1 };
391
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.
Bottom
, 1, 1 };
392
yield return new object[] { AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.
Bottom
| AnchorStyles.Left, 1, 1 };
393
yield return new object[] { AnchorStyles.
Bottom
| AnchorStyles.Right, AnchorStyles.
Bottom
| AnchorStyles.Right, 1, 1 };
394
yield return new object[] { AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, 1, 1 };
402
yield return new object[] { (AnchorStyles)(-1), AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, 1, 2 };
403
yield return new object[] { (AnchorStyles)int.MaxValue, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, 1, 2 };
512
yield return new object[] { oldValue, AnchorStyles.Top | AnchorStyles.
Bottom
, AnchorStyles.Top | AnchorStyles.
Bottom
, 1, 1 };
513
yield return new object[] { oldValue, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, 1, 1 };
514
yield return new object[] { oldValue, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Right, 1, 1 };
518
yield return new object[] { oldValue, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, 1, 1 };
520
yield return new object[] { oldValue, AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.
Bottom
| AnchorStyles.Left, 1, 1 };
521
yield return new object[] { oldValue, AnchorStyles.
Bottom
| AnchorStyles.Right, AnchorStyles.
Bottom
| AnchorStyles.Right, 1, 1 };
522
yield return new object[] { oldValue, AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, 1, 1 };
527
yield return new object[] { oldValue, (AnchorStyles)(-1), AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, 1, 2 };
528
yield return new object[] { oldValue, (AnchorStyles)int.MaxValue, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, 1, 2 };
532
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.Top, AnchorStyles.Top, 1, 1 };
536
yield return new object[] { AnchorStyles.Top, AnchorStyles.
Bottom
, AnchorStyles.
Bottom
, 1, 1 };
537
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.
Bottom
, AnchorStyles.
Bottom
, 0, 0 };
538
yield return new object[] { AnchorStyles.Left, AnchorStyles.
Bottom
, AnchorStyles.
Bottom
, 1, 1 };
539
yield return new object[] { AnchorStyles.Right, AnchorStyles.
Bottom
, AnchorStyles.
Bottom
, 1, 1 };
542
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.Left, AnchorStyles.Left, 1, 1 };
547
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.Right, AnchorStyles.Right, 1, 1 };
602
yield return new object[] { oldValue, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Right, 1, 1, 0, 0 };
606
yield return new object[] { oldValue, AnchorStyles.
Bottom
| AnchorStyles.Right, AnchorStyles.
Bottom
| AnchorStyles.Right, 1, 1, 0, 0 };
607
yield return new object[] { oldValue, AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, 1, 1, 0, 0 };
611
yield return new object[] { oldValue, (AnchorStyles)(-1), AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, 1, 2, 0, 0 };
612
yield return new object[] { oldValue, (AnchorStyles)int.MaxValue, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, 1, 2, 0, 0 };
615
yield return new object[] { AnchorStyles.Top, AnchorStyles.Top | AnchorStyles.
Bottom
, AnchorStyles.Top | AnchorStyles.
Bottom
, 1, 1, 0, 0 };
616
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.Top | AnchorStyles.
Bottom
, AnchorStyles.Top | AnchorStyles.
Bottom
, 1, 1, 0, 0 };
617
yield return new object[] { AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.
Bottom
, AnchorStyles.Top | AnchorStyles.
Bottom
, 1, 1, 0, 0 };
618
yield return new object[] { AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
, AnchorStyles.Top | AnchorStyles.
Bottom
, 1, 1, 1, 1 };
620
yield return new object[] { AnchorStyles.Top, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, 1, 1, 0, 0 };
621
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, 1, 1, 0, 0 };
622
yield return new object[] { AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, 1, 1, 0, 0 };
623
yield return new object[] { AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, 1, 1, 1, 1 };
625
yield return new object[] { AnchorStyles.Top, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, 1, 1, 0, 0 };
626
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, 1, 1, 0, 0 };
627
yield return new object[] { AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, 1, 1, 0, 0 };
628
yield return new object[] { AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, 1, 1, 1, 1 };
631
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.Top | AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.Left, 1, 1, 1, 1 };
633
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.Top | AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.Left, 1, 1, 1, 1 };
635
yield return new object[] { AnchorStyles.Top, AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.
Bottom
| AnchorStyles.Left, 1, 1, 0, 0 };
636
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.
Bottom
| AnchorStyles.Left, 1, 1, 0, 0 };
637
yield return new object[] { AnchorStyles.Left, AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.
Bottom
| AnchorStyles.Left, 1, 1, 0, 0 };
638
yield return new object[] { AnchorStyles.Right, AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.
Bottom
| AnchorStyles.Left, 1, 1, 1, 1 };
640
yield return new object[] { AnchorStyles.Top, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, 1, 1, 0, 0 };
641
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, 1, 1, 0, 0 };
642
yield return new object[] { AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, 1, 1, 0, 0 };
643
yield return new object[] { AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, 1, 1, 0, 0 };
646
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.None, AnchorStyles.None, 1, 1, 1, 1 };
651
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.Top, AnchorStyles.Top, 1, 1, 1, 1 };
655
yield return new object[] { AnchorStyles.Top, AnchorStyles.
Bottom
, AnchorStyles.
Bottom
, 1, 1, 0, 0 };
656
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.
Bottom
, AnchorStyles.
Bottom
, 0, 0, 0, 0 };
657
yield return new object[] { AnchorStyles.Left, AnchorStyles.
Bottom
, AnchorStyles.
Bottom
, 1, 1, 0, 0 };
658
yield return new object[] { AnchorStyles.Right, AnchorStyles.
Bottom
, AnchorStyles.
Bottom
, 1, 1, 1, 1 };
661
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.Left, AnchorStyles.Left, 1, 1, 1, 1 };
666
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.Right, AnchorStyles.Right, 1, 1, 1, 1 };
739
yield return new object[] { dock, AnchorStyles.Top | AnchorStyles.
Bottom
, AnchorStyles.Top | AnchorStyles.
Bottom
, DockStyle.None };
740
yield return new object[] { dock, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, DockStyle.None };
741
yield return new object[] { dock, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Right, DockStyle.None };
745
yield return new object[] { dock, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, DockStyle.None };
747
yield return new object[] { dock, AnchorStyles.
Bottom
, AnchorStyles.
Bottom
, DockStyle.None };
748
yield return new object[] { dock, AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.
Bottom
| AnchorStyles.Left, DockStyle.None };
749
yield return new object[] { dock, AnchorStyles.
Bottom
| AnchorStyles.Right, AnchorStyles.
Bottom
| AnchorStyles.Right, DockStyle.None };
750
yield return new object[] { dock, AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, DockStyle.None };
758
yield return new object[] { dock, (AnchorStyles)(-1), AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, DockStyle.None };
759
yield return new object[] { dock, (AnchorStyles)int.MaxValue, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, DockStyle.None };
793
yield return new object[] { dock, AnchorStyles.Top | AnchorStyles.
Bottom
, AnchorStyles.Top | AnchorStyles.
Bottom
, DockStyle.None, 1 };
794
yield return new object[] { dock, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, DockStyle.None, 1 };
795
yield return new object[] { dock, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Right, DockStyle.None, 1 };
799
yield return new object[] { dock, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, DockStyle.None, 1 };
801
yield return new object[] { dock, AnchorStyles.
Bottom
, AnchorStyles.
Bottom
, DockStyle.None, 1 };
802
yield return new object[] { dock, AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.
Bottom
| AnchorStyles.Left, DockStyle.None, 1 };
803
yield return new object[] { dock, AnchorStyles.
Bottom
| AnchorStyles.Right, AnchorStyles.
Bottom
| AnchorStyles.Right, DockStyle.None, 1 };
804
yield return new object[] { dock, AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, DockStyle.None, 1 };
812
yield return new object[] { dock, (AnchorStyles)(-1), AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, DockStyle.None, 1 };
813
yield return new object[] { dock, (AnchorStyles)int.MaxValue, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, DockStyle.None, 1 };
System\Windows\Forms\ToolStripDropDownTests.cs (18)
568
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Bottom
, AnchorStyles.Top | AnchorStyles.
Bottom
, DockStyle.None };
569
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, DockStyle.None };
570
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Right, DockStyle.None };
574
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, DockStyle.None };
576
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.
Bottom
, DockStyle.None };
577
yield return new object[] { AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.
Bottom
| AnchorStyles.Left, DockStyle.None };
578
yield return new object[] { AnchorStyles.
Bottom
| AnchorStyles.Right, AnchorStyles.
Bottom
| AnchorStyles.Right, DockStyle.None };
579
yield return new object[] { AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, DockStyle.None };
587
yield return new object[] { (AnchorStyles)(-1), AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, DockStyle.None };
588
yield return new object[] { (AnchorStyles)int.MaxValue, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, DockStyle.None };
System\Windows\Forms\ToolStripItemTests.cs (3)
784
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right };
785
yield return new object[] { (AnchorStyles)(-1), AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right };
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
273
Anchor = AnchorStyles.
Bottom
,
System\Windows\Forms\ToolStripTests.cs (18)
747
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Bottom
, AnchorStyles.Top | AnchorStyles.
Bottom
, DockStyle.None };
748
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left, DockStyle.None };
749
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Right, DockStyle.None };
753
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, DockStyle.None };
755
yield return new object[] { AnchorStyles.
Bottom
, AnchorStyles.
Bottom
, DockStyle.None };
756
yield return new object[] { AnchorStyles.
Bottom
| AnchorStyles.Left, AnchorStyles.
Bottom
| AnchorStyles.Left, DockStyle.None };
757
yield return new object[] { AnchorStyles.
Bottom
| AnchorStyles.Right, AnchorStyles.
Bottom
| AnchorStyles.Right, DockStyle.None };
758
yield return new object[] { AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, DockStyle.None };
766
yield return new object[] { (AnchorStyles)(-1), AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, DockStyle.None };
767
yield return new object[] { (AnchorStyles)int.MaxValue, AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left | AnchorStyles.Right, DockStyle.None };
System.Windows.Forms.UI.IntegrationTests (9)
AnchorLayoutTests.cs (7)
12
private const AnchorStyles AnchorAllDirection = AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Right | AnchorStyles.
Bottom
;
23
[InlineData(AnchorStyles.
Bottom
, 120, 330, 20, 30)]
26
[InlineData(AnchorStyles.Top | AnchorStyles.
Bottom
, 120, 30, 20, 330)]
28
[InlineData(AnchorStyles.
Bottom
| AnchorStyles.Right | AnchorStyles.Top | AnchorStyles.Left, 20, 30, 220, 330)]
38
[InlineData(AnchorStyles.
Bottom
, 120, 330, 20, 30)]
41
[InlineData(AnchorStyles.Top | AnchorStyles.
Bottom
, 120, 30, 20, 330)]
43
[InlineData(AnchorStyles.
Bottom
| AnchorStyles.Right | AnchorStyles.Top | AnchorStyles.Left, 20, 30, 220, 330)]
ButtonTests.cs (1)
195
button.Anchor = AnchorStyles.Top | AnchorStyles.
Bottom
;
ImageListTests.cs (1)
101
Anchor = AnchorStyles.Top | AnchorStyles.
Bottom
| AnchorStyles.Left,
WinFormsControlsTest (25)
AnchorLayoutTests.Designer.cs (4)
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
)
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
)
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 (1)
42
this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.
Bottom
)
TrackBars.cs (1)
51
trackBar1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Bottom
;