36 references to None
System.Windows.Forms (35)
System\Windows\Forms\Control.cs (10)
2884: BoundsSpecified.None; 9753BoundsSpecified includedSpecified = BoundsSpecified.None; 9754BoundsSpecified excludedSpecified = BoundsSpecified.None; 9766if (includedSpecified != BoundsSpecified.None) 9771if (excludedSpecified != BoundsSpecified.None) 9778RequiredScaling = BoundsSpecified.None; 10093if ((specified & BoundsSpecified.X) == BoundsSpecified.None) 10098if ((specified & BoundsSpecified.Y) == BoundsSpecified.None) 10103if ((specified & BoundsSpecified.Width) == BoundsSpecified.None) 10108if ((specified & BoundsSpecified.Height) == BoundsSpecified.None)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
3246if ((specified & BoundsSpecified.Height) != BoundsSpecified.None && DropDownStyle == ComboBoxStyle.Simple)
System\Windows\Forms\Controls\Labels\Label.cs (2)
1379if ((specified & BoundsSpecified.Height) != BoundsSpecified.None) 1384if ((specified & BoundsSpecified.Width) != BoundsSpecified.None)
System\Windows\Forms\Controls\TabControl\TabPage.cs (2)
740base.SetBoundsCore(r.X, r.Y, r.Width, r.Height, specified == BoundsSpecified.None ? BoundsSpecified.None : BoundsSpecified.All);
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (2)
654element.SetBounds(bounds, BoundsSpecified.None); 661element.SetBounds(bounds, BoundsSpecified.None);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
359element.SetBounds(cell.CachedBounds, BoundsSpecified.None);
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (2)
1015if ((specified & BoundsSpecified.Height) != BoundsSpecified.None) 1022if ((specified & BoundsSpecified.Width) != BoundsSpecified.None)
System\Windows\Forms\Form.cs (1)
4259form.SetBounds(new Rectangle(Left, Top, adjustedSize.Width, adjustedSize.Height), BoundsSpecified.None);
System\Windows\Forms\Layout\CommonProperties.cs (5)
175element.SetBounds(GetSpecifiedBounds(element), BoundsSpecified.None); 290bool xChangedButNotSpecified = ((specified & BoundsSpecified.X) == BoundsSpecified.None) & x != originalBounds.X; 291bool yChangedButNotSpecified = ((specified & BoundsSpecified.Y) == BoundsSpecified.None) & y != originalBounds.Y; 292bool wChangedButNotSpecified = ((specified & BoundsSpecified.Width) == BoundsSpecified.None) & width != originalBounds.Width; 293bool hChangedButNotSpecified = ((specified & BoundsSpecified.Height) == BoundsSpecified.None) & height != originalBounds.Height;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (2)
2064if ((specified & BoundsSpecified.Height) != BoundsSpecified.None && Orientation == Orientation.Horizontal) 2073if ((specified & BoundsSpecified.Width) != BoundsSpecified.None && Orientation == Orientation.Vertical)
System\Windows\Forms\Layout\DefaultLayout.cs (5)
521element.SetBounds(newElementBounds, BoundsSpecified.None); 960element.SetBounds(CommonProperties.GetSpecifiedBounds(element), BoundsSpecified.None); 1067element.SetBounds(bounds, BoundsSpecified.None); 1100Debug.Assert(specified == BoundsSpecified.None || GetCachedBounds(element) == element.Bounds, 1103if (specified != BoundsSpecified.None &&
System\Windows\Forms\Layout\FlowLayout.ElementProxy.cs (1)
54set => _element!.SetBounds(value, BoundsSpecified.None);
System\Windows\Forms\Layout\TableLayout.cs (1)
1280element.SetBounds(elementBounds, BoundsSpecified.None);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
661BoundsSpecified specified = BoundsSpecified.None;