37 references to None
System.Windows.Forms (37)
winforms\Managed\System\WinForms\ComboBox.cs (1)
3276if ((specified & BoundsSpecified.Height) != BoundsSpecified.None) {
winforms\Managed\System\WinForms\Control.cs (10)
3674return BoundsSpecified.None; 11435BoundsSpecified includedSpecified = BoundsSpecified.None; 11436BoundsSpecified excludedSpecified = BoundsSpecified.None; 11452if (includedSpecified != BoundsSpecified.None) { 11456if (excludedSpecified != BoundsSpecified.None) { 11461RequiredScaling = BoundsSpecified.None; 11823if ((specified & BoundsSpecified.X) == BoundsSpecified.None) x = this.x; 11824if ((specified & BoundsSpecified.Y) == BoundsSpecified.None) y = this.y; 11825if ((specified & BoundsSpecified.Width) == BoundsSpecified.None) width = this.width; 11826if ((specified & BoundsSpecified.Height) == BoundsSpecified.None) height = this.height;
winforms\Managed\System\WinForms\Form.cs (1)
4820form.SetBounds(new Rectangle(this.Left, this.Top, adjustedSize.Width, adjustedSize.Height), BoundsSpecified.None);
winforms\Managed\System\WinForms\Label.cs (2)
1671if ((specified & BoundsSpecified.Height) != BoundsSpecified.None) 1673if ((specified & BoundsSpecified.Width) != BoundsSpecified.None)
winforms\Managed\System\WinForms\Layout\CommonProperties.cs (5)
183element.SetBounds(GetSpecifiedBounds(element), BoundsSpecified.None); 279bool xChangedButNotSpecified = ((specified & BoundsSpecified.X) == BoundsSpecified.None) & x != originalBounds.X; 280bool yChangedButNotSpecified = ((specified & BoundsSpecified.Y) == BoundsSpecified.None) & y != originalBounds.Y; 281bool wChangedButNotSpecified = ((specified & BoundsSpecified.Width) == BoundsSpecified.None) & width != originalBounds.Width; 282bool hChangedButNotSpecified = ((specified & BoundsSpecified.Height) == BoundsSpecified.None) & height != originalBounds.Height;
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (5)
370element.SetBounds(newElementBounds, BoundsSpecified.None); 684element.SetBounds(CommonProperties.GetSpecifiedBounds(element), BoundsSpecified.None); 762element.SetBounds(bounds, BoundsSpecified.None); 796Debug.Assert(specified == BoundsSpecified.None || GetCachedBounds(element) == element.Bounds, 799if(specified != BoundsSpecified.None && CommonProperties.GetNeedsAnchorLayout(element)) {
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (1)
553set { _element.SetBounds(value, BoundsSpecified.None); }
winforms\Managed\System\WinForms\Layout\TableLayout.cs (1)
1245element.SetBounds(elementBounds, BoundsSpecified.None);
winforms\Managed\System\WinForms\SplitContainer.cs (2)
2140if ((specified & BoundsSpecified.Height) != BoundsSpecified.None && Orientation == Orientation.Horizontal) { 2148if ((specified & BoundsSpecified.Width) != BoundsSpecified.None && Orientation == Orientation.Vertical) {
winforms\Managed\System\WinForms\TabPage.cs (2)
747base.SetBoundsCore (r.X, r.Y, r.Width, r.Height, specified == BoundsSpecified.None ? BoundsSpecified.None : BoundsSpecified.All);
winforms\Managed\System\WinForms\ToolBar.cs (2)
1457if ((specified & BoundsSpecified.Width) != BoundsSpecified.None) requestedSize = width; 1467if ((specified & BoundsSpecified.Height) != BoundsSpecified.None) requestedSize = height;
winforms\Managed\System\WinForms\ToolStripControlHost.cs (2)
816element.SetBounds(bounds, BoundsSpecified.None); 822element.SetBounds(bounds, BoundsSpecified.None);
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (1)
356element.SetBounds(cell.CachedBounds, BoundsSpecified.None);
winforms\Managed\System\WinForms\TrackBar.cs (2)
1064if ((specified & BoundsSpecified.Height) != BoundsSpecified.None) 1068if ((specified & BoundsSpecified.Width) != BoundsSpecified.None)