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