264 references to Right
Accessibility_Core_App (3)
CommonControl1.Designer.cs (3)
171
this.button3.Anchor = System.Windows.Forms.AnchorStyles.
Right
;
453
this.linkLabel4.Anchor = System.Windows.Forms.AnchorStyles.
Right
;
499
this.label4.Anchor = System.Windows.Forms.AnchorStyles.
Right
;
PresentationUI (4)
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\CredentialManagerDialog.Designer.cs (1)
74
this._buttonFlowLayoutPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.
Right
)));
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (1)
56
_buttomControlLayoutpanel.Anchor = System.Windows.Forms.AnchorStyles.
Right
;
MS\Internal\Documents\SigningDialog.Designer.cs (1)
196
| System.Windows.Forms.AnchorStyles.
Right
)));
System.Windows.Forms (39)
System\Windows\Forms\Controls\Labels\Label.cs (2)
827
((Anchor & (AnchorStyles.Left | AnchorStyles.
Right
)) == (AnchorStyles.Left | AnchorStyles.
Right
) ||
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
184
Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
,
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
14
private const AnchorStyles AllAnchor = AnchorStyles.Left | AnchorStyles.
Right
| AnchorStyles.Bottom | AnchorStyles.Top;
15
private const AnchorStyles HorizontalAnchor = AnchorStyles.Left | AnchorStyles.
Right
;
System\Windows\Forms\Layout\DefaultLayout.cs (11)
37
if ((anchor & (AnchorStyles.Left | AnchorStyles.
Right
)) == (AnchorStyles.Left | AnchorStyles.
Right
))
114
if ((anchor & AnchorStyles.
Right
) != AnchorStyles.None
184
if (IsAnchored(anchors, AnchorStyles.
Right
))
193
if (IsAnchored(anchors, AnchorStyles.
Right
))
248
if (IsAnchored(anchor, AnchorStyles.
Right
))
760
if (IsAnchored(anchor, AnchorStyles.
Right
))
916
bool rightReleased = IsAnchored(oldValue, AnchorStyles.
Right
) && !IsAnchored(value, AnchorStyles.
Right
);
1126
if (IsAnchored(anchor, AnchorStyles.Left) && !IsAnchored(anchor, AnchorStyles.
Right
))
1140
if (IsAnchored(anchor, AnchorStyles.
Right
))
System\Windows\Forms\Layout\FlowLayout.VerticalElementProxy.cs (1)
24
bool isRight = (anchorStyles & AnchorStyles.
Right
) != 0; // whether the control anchors to right and does not stretch;
System\Windows\Forms\Layout\LayoutUtils.cs (14)
25
public const AnchorStyles HorizontalAnchorStyles = AnchorStyles.Left | AnchorStyles.
Right
;
31
/* Top */ AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
,
32
/* Bottom */ AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.
Right
,
34
/* Right */ AnchorStyles.
Right
| AnchorStyles.Top | AnchorStyles.Bottom,
35
/* Fill */ AnchorStyles.
Right
| AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left
174
for (int i = 1; i <= (int)AnchorStyles.
Right
; i <<= 1)
181
result |= AnchorStyles.
Right
;
186
case AnchorStyles.
Right
:
292
if ((anchorStyles & AnchorStyles.
Right
) != 0)
513
case AnchorStyles.
Right
:
544
region1 = SubstituteSpecifiedBounds(bounds, region1, AnchorStyles.
Right
);
547
case AnchorStyles.
Right
:
550
region2 = SubstituteSpecifiedBounds(bounds, region2, AnchorStyles.
Right
);
593
int right = (specified & AnchorStyles.
Right
) != 0 ? substitutionBounds.Right : originalBounds.Right;
System\Windows\Forms\Layout\TableLayout.cs (2)
702
if ((tlp.Anchor & (AnchorStyles.Left | AnchorStyles.
Right
)) == (AnchorStyles.Left | AnchorStyles.
Right
))
System\Windows\Forms\Layout\TextImageRelation.cs (1)
15
TextBeforeImage = AnchorStyles.
Right
,
System\Windows\Forms\Printing\PrintPreviewControl.cs (3)
68
Anchor = AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.
Right
,
82
Anchor = AnchorStyles.Top | AnchorStyles.
Right
| AnchorStyles.Bottom,
828
_vScrollBar.Anchor = AnchorStyles.Top | AnchorStyles.
Right
| AnchorStyles.Bottom;
System\Windows\Forms\Scrolling\ScrollableControl.cs (2)
434
if ((anchor & AnchorStyles.
Right
) == AnchorStyles.
Right
)
System.Windows.Forms.Design (10)
System\Drawing\Design\ContentAlignmentEditor.ContentUI.cs (2)
180
const AnchorStyles DefaultCenterAnchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
;
181
const AnchorStyles DefaultRightAnchor = AnchorStyles.Top | AnchorStyles.
Right
;
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (6)
64
baseVar |= AnchorStyles.
Right
;
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
;
154
_right.IsSolid = (anchorStyles & AnchorStyles.
Right
) == AnchorStyles.
Right
;
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.Tests (181)
System\Windows\Forms\ControlTests.Properties.cs (142)
312
yield return new object[] { AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.
Right
};
314
yield return new object[] { AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
};
315
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.
Right
};
316
yield return new object[] { AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.
Right
};
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
};
324
yield return new object[] { AnchorStyles.Left | AnchorStyles.
Right
, AnchorStyles.Left | AnchorStyles.
Right
};
326
yield return new object[] { AnchorStyles.
Right
, 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
};
385
yield return new object[] { AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.
Right
, 1, 1 };
387
yield return new object[] { AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
, 1, 1 };
388
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Right
, AnchorStyles.Top | 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 };
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 };
397
yield return new object[] { AnchorStyles.Left | AnchorStyles.
Right
, AnchorStyles.Left | AnchorStyles.
Right
, 1, 1 };
399
yield return new object[] { AnchorStyles.
Right
, 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 };
510
foreach (AnchorStyles oldValue in new AnchorStyles[] { AnchorStyles.Left, AnchorStyles.Top, AnchorStyles.
Right
, AnchorStyles.Left })
514
yield return new object[] { oldValue, AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.
Right
, 1, 1 };
516
yield return new object[] { oldValue, AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
, 1, 1 };
517
yield return new object[] { oldValue, AnchorStyles.Top | AnchorStyles.
Right
, AnchorStyles.Top | 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 };
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 };
524
yield return new object[] { oldValue, AnchorStyles.Left | AnchorStyles.
Right
, 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 };
534
yield return new object[] { AnchorStyles.
Right
, AnchorStyles.Top, AnchorStyles.Top, 1, 1 };
539
yield return new object[] { AnchorStyles.
Right
, AnchorStyles.Bottom, AnchorStyles.Bottom, 1, 1 };
544
yield return new object[] { AnchorStyles.
Right
, AnchorStyles.Left, AnchorStyles.Left, 1, 1 };
546
yield return new object[] { AnchorStyles.Top, AnchorStyles.
Right
, AnchorStyles.
Right
, 1, 1 };
547
yield return new object[] { AnchorStyles.Bottom, AnchorStyles.
Right
, AnchorStyles.
Right
, 1, 1 };
548
yield return new object[] { AnchorStyles.Left, AnchorStyles.
Right
, AnchorStyles.
Right
, 1, 1 };
549
yield return new object[] { AnchorStyles.
Right
, AnchorStyles.
Right
, AnchorStyles.
Right
, 0, 0 };
600
foreach (AnchorStyles oldValue in new AnchorStyles[] { AnchorStyles.Left, AnchorStyles.Top, AnchorStyles.
Right
, AnchorStyles.Left })
602
yield return new object[] { oldValue, AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.
Right
, 1, 1, 0, 0 };
603
yield return new object[] { oldValue, AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
, 1, 1, 0, 0 };
604
yield return new object[] { oldValue, AnchorStyles.Top | AnchorStyles.
Right
, AnchorStyles.Top | 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 };
609
yield return new object[] { oldValue, AnchorStyles.Left | AnchorStyles.
Right
, 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 };
618
yield return new object[] { AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Bottom, AnchorStyles.Top | AnchorStyles.Bottom, 1, 1, 1, 1 };
623
yield return new object[] { AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left, 1, 1, 1, 1 };
628
yield return new object[] { AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left, 1, 1, 1, 1 };
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 };
648
yield return new object[] { AnchorStyles.
Right
, AnchorStyles.None, AnchorStyles.None, 1, 1, 1, 1 };
653
yield return new object[] { AnchorStyles.
Right
, AnchorStyles.Top, AnchorStyles.Top, 1, 1, 1, 1 };
658
yield return new object[] { AnchorStyles.
Right
, AnchorStyles.Bottom, AnchorStyles.Bottom, 1, 1, 1, 1 };
663
yield return new object[] { AnchorStyles.
Right
, AnchorStyles.Left, AnchorStyles.Left, 1, 1, 1, 1 };
665
yield return new object[] { AnchorStyles.Top, AnchorStyles.
Right
, AnchorStyles.
Right
, 1, 1, 0, 0 };
666
yield return new object[] { AnchorStyles.Bottom, AnchorStyles.
Right
, AnchorStyles.
Right
, 1, 1, 1, 1 };
667
yield return new object[] { AnchorStyles.Left, AnchorStyles.
Right
, AnchorStyles.
Right
, 1, 1, 0, 0 };
668
yield return new object[] { AnchorStyles.
Right
, AnchorStyles.
Right
, AnchorStyles.
Right
, 0, 0, 0, 0 };
741
yield return new object[] { dock, AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.
Right
, DockStyle.None };
743
yield return new object[] { dock, AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
, DockStyle.None };
744
yield return new object[] { dock, AnchorStyles.Top | AnchorStyles.
Right
, AnchorStyles.Top | 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 };
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 };
753
yield return new object[] { dock, AnchorStyles.Left | AnchorStyles.
Right
, AnchorStyles.Left | AnchorStyles.
Right
, DockStyle.None };
755
yield return new object[] { dock, AnchorStyles.
Right
, 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 };
795
yield return new object[] { dock, AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.
Right
, DockStyle.None, 1 };
797
yield return new object[] { dock, AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
, DockStyle.None, 1 };
798
yield return new object[] { dock, AnchorStyles.Top | AnchorStyles.
Right
, AnchorStyles.Top | 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 };
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 };
807
yield return new object[] { dock, AnchorStyles.Left | AnchorStyles.
Right
, AnchorStyles.Left | AnchorStyles.
Right
, DockStyle.None, 1 };
809
yield return new object[] { dock, AnchorStyles.
Right
, 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)
570
yield return new object[] { AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.
Right
, DockStyle.None };
572
yield return new object[] { AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
, DockStyle.None };
573
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Right
, AnchorStyles.Top | 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 };
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 };
582
yield return new object[] { AnchorStyles.Left | AnchorStyles.
Right
, AnchorStyles.Left | AnchorStyles.
Right
, DockStyle.None };
584
yield return new object[] { AnchorStyles.
Right
, 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\ToolStripTests.cs (18)
749
yield return new object[] { AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.
Right
, DockStyle.None };
751
yield return new object[] { AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
, AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
, DockStyle.None };
752
yield return new object[] { AnchorStyles.Top | AnchorStyles.
Right
, AnchorStyles.Top | 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 };
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 };
761
yield return new object[] { AnchorStyles.Left | AnchorStyles.
Right
, AnchorStyles.Left | AnchorStyles.
Right
, DockStyle.None };
763
yield return new object[] { AnchorStyles.
Right
, 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 (10)
AnchorLayoutTests.cs (9)
12
private const AnchorStyles AnchorAllDirection = AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.
Right
| AnchorStyles.Bottom;
22
[InlineData(AnchorStyles.
Right
, 220, 180, 20, 30)]
25
[InlineData(AnchorStyles.Top | AnchorStyles.
Right
, 220, 30, 20, 30)]
27
[InlineData(AnchorStyles.Left | AnchorStyles.
Right
, 20, 180, 220, 30)]
28
[InlineData(AnchorStyles.Bottom | AnchorStyles.
Right
| AnchorStyles.Top | AnchorStyles.Left, 20, 30, 220, 330)]
37
[InlineData(AnchorStyles.
Right
, 220, 180, 20, 30)]
40
[InlineData(AnchorStyles.Top | AnchorStyles.
Right
, 220, 30, 20, 30)]
42
[InlineData(AnchorStyles.Left | AnchorStyles.
Right
, 20, 180, 220, 30)]
43
[InlineData(AnchorStyles.Bottom | AnchorStyles.
Right
| AnchorStyles.Top | AnchorStyles.Left, 20, 30, 220, 330)]
ButtonTests.cs (1)
165
button.Anchor = AnchorStyles.Left | AnchorStyles.
Right
;
TrimTest (1)
Form1.Designer.cs (1)
78
comboBox1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
;
WinFormsControlsTest (16)
AnchorLayoutTests.Designer.cs (4)
66
this.button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.
Right
)));
98
| System.Windows.Forms.AnchorStyles.
Right
)));
108
this.button7.Anchor = System.Windows.Forms.AnchorStyles.
Right
;
128
this.button9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.
Right
)));
Calendar.Designer.cs (1)
56
| System.Windows.Forms.AnchorStyles.
Right
)));
CollectionEditors.Designer.cs (1)
82
| System.Windows.Forms.AnchorStyles.
Right
)));
DataGridViewInVirtualModeTest.Designer.cs (1)
46
| System.Windows.Forms.AnchorStyles.
Right
)));
DataGridViewTest.Designer.cs (1)
83
| System.Windows.Forms.AnchorStyles.
Right
)));
DragDrop.Designer.cs (2)
177
buttonOpenCats.Anchor = AnchorStyles.Bottom | AnchorStyles.
Right
;
187
buttonClear.Anchor = AnchorStyles.Bottom | AnchorStyles.
Right
;
PictureBoxes.Designer.cs (3)
44
| System.Windows.Forms.AnchorStyles.
Right
)));
57
this.btnloadImage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.
Right
)));
70
| System.Windows.Forms.AnchorStyles.
Right
)));
TaskDialogSamples.cs (1)
36
Anchor = AnchorStyles.Left | AnchorStyles.
Right
,
TrackBars.cs (1)
44
trackBar1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.
Right
;
TrackBars.Designer.cs (1)
59
| System.Windows.Forms.AnchorStyles.
Right
)));