72 references to None
NativeHost.ManagedControl (1)
ManagedControl.Designer.cs (1)
37
this.button1.Anchor = System.Windows.Forms.AnchorStyles.
None
;
PresentationUI (2)
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
;
System.Windows.Forms (22)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (2)
519
bool imageEdge = (AnchorStyles)(ImageAlignToRelation(imageAlign) & textImageRelation) != AnchorStyles.
None
;
523
bool textEdge = (AnchorStyles)(TextAlignToRelation(textAlign) & textImageRelation) != AnchorStyles.
None
;
System\Windows\Forms\Controls\Splitter\Splitter.cs (2)
68
[DefaultValue(AnchorStyles.
None
)]
73
return AnchorStyles.
None
;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (2)
339
Rectangle bounds = LayoutUtils.VAlign(item.Size, _displayRectangle, AnchorStyles.
None
);
472
Rectangle bounds = LayoutUtils.HAlign(item.Size, _displayRectangle, AnchorStyles.
None
);
System\Windows\Forms\Layout\CommonProperties.cs (2)
632
AnchorStyles.
None
=> DefaultAnchor,
633
DefaultAnchor => AnchorStyles.
None
,
System\Windows\Forms\Layout\DefaultLayout.cs (4)
114
if ((anchor & AnchorStyles.Right) != AnchorStyles.
None
115
&& (anchor & AnchorStyles.Left) == AnchorStyles.
None
)
126
if ((anchor & AnchorStyles.Bottom) != AnchorStyles.
None
127
&& (anchor & AnchorStyles.Top) == AnchorStyles.
None
)
System\Windows\Forms\Layout\FlowLayout.ElementProxy.cs (1)
46
return AnchorStyles.
None
;
System\Windows\Forms\Layout\FlowLayout.VerticalElementProxy.cs (1)
40
return AnchorStyles.
None
;
System\Windows\Forms\Layout\LayoutUtils.cs (5)
166
AnchorStyles result = AnchorStyles.
None
;
167
if (anchor == AnchorStyles.
None
)
178
case AnchorStyles.
None
:
296
else if (anchorStyles == AnchorStyles.
None
|| (anchorStyles & HorizontalAnchorStyles) == 0)
328
else if (anchorStyles == AnchorStyles.
None
|| (anchorStyles & VerticalAnchorStyles) == 0)
System\Windows\Forms\Layout\TextImageRelation.cs (1)
13
Overlay = AnchorStyles.
None
,
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (2)
42
Anchor = AnchorStyles.
None
,
51
Anchor = AnchorStyles.
None
System.Windows.Forms.Design (6)
System\Drawing\Design\ContentAlignmentEditor.ContentUI.cs (6)
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
;
System.Windows.Forms.Tests (41)
System\Windows\Forms\ControlTests.Properties.cs (18)
328
yield return new object[] { AnchorStyles.
None
, AnchorStyles.
None
};
401
yield return new object[] { AnchorStyles.
None
, AnchorStyles.
None
, 1, 1 };
526
yield return new object[] { oldValue, AnchorStyles.
None
, AnchorStyles.
None
, 1, 1 };
645
yield return new object[] { AnchorStyles.Top, AnchorStyles.
None
, AnchorStyles.
None
, 1, 1, 0, 0 };
646
yield return new object[] { AnchorStyles.Bottom, AnchorStyles.
None
, AnchorStyles.
None
, 1, 1, 1, 1 };
647
yield return new object[] { AnchorStyles.Left, AnchorStyles.
None
, AnchorStyles.
None
, 1, 1, 0, 0 };
648
yield return new object[] { AnchorStyles.Right, AnchorStyles.
None
, AnchorStyles.
None
, 1, 1, 1, 1 };
757
yield return new object[] { dock, AnchorStyles.
None
, AnchorStyles.
None
, DockStyle.None };
811
yield return new object[] { dock, AnchorStyles.
None
, AnchorStyles.
None
, DockStyle.None, 1 };
System\Windows\Forms\SplitterTests.cs (17)
23
Assert.Equal(AnchorStyles.
None
, control.Anchor);
185
Assert.Equal(AnchorStyles.
None
, control.Anchor);
192
Assert.Equal(AnchorStyles.
None
, control.Anchor);
405
Assert.Equal(AnchorStyles.
None
, control.Anchor);
414
Assert.Equal(AnchorStyles.
None
, control.Anchor);
438
Assert.Equal(AnchorStyles.
None
, control.Anchor);
447
Assert.Equal(AnchorStyles.
None
, control.Anchor);
470
Assert.Equal(AnchorStyles.
None
, control.Anchor);
479
Assert.Equal(AnchorStyles.
None
, control.Anchor);
504
Assert.Equal(AnchorStyles.
None
, control.Anchor);
513
Assert.Equal(AnchorStyles.
None
, control.Anchor);
554
Assert.Equal(AnchorStyles.
None
, control.Anchor);
562
Assert.Equal(AnchorStyles.
None
, control.Anchor);
623
Assert.Equal(AnchorStyles.
None
, control.Anchor);
631
Assert.Equal(AnchorStyles.
None
, control.Anchor);
662
Assert.Equal(AnchorStyles.
None
, control.Anchor);
674
Assert.Equal(AnchorStyles.
None
, control.Anchor);
System\Windows\Forms\ToolStripDropDownTests.cs (2)
586
yield return new object[] { AnchorStyles.
None
, AnchorStyles.
None
, DockStyle.None };
System\Windows\Forms\ToolStripItemTests.cs (2)
783
yield return new object[] { AnchorStyles.
None
, AnchorStyles.
None
};
System\Windows\Forms\ToolStripTests.cs (2)
765
yield return new object[] { AnchorStyles.
None
, AnchorStyles.
None
, DockStyle.None };