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