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