2 writes to _targetResizeRules
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (2)
300
_targetResizeRules
= SelectionRules.None;
303
_targetResizeRules
= sgb.SelectionRules;
13 references to _targetResizeRules
System.Windows.Forms.Design (13)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (13)
307
if (
_targetResizeRules
== SelectionRules.None)
556
if ((((
_targetResizeRules
& SelectionRules.BottomSizeable) != 0) || ((
_targetResizeRules
& SelectionRules.TopSizeable) != 0)) &&
561
else if ((((
_targetResizeRules
& SelectionRules.RightSizeable) != 0) || ((
_targetResizeRules
& SelectionRules.LeftSizeable) != 0)) &&
598
_lastSnapOffset = _dragManager.OnMouseMove(targetControl, GenerateSnapLines(
_targetResizeRules
, mouseLoc), ref _didSnap, shouldSnapHorizontally);
666
if (((
_targetResizeRules
& SelectionRules.BottomSizeable) != 0) &&
683
if (((
_targetResizeRules
& SelectionRules.TopSizeable) != 0) &&
708
if (((((
_targetResizeRules
& SelectionRules.RightSizeable) != 0) && ((resizeRules & SelectionRules.RightSizeable) != 0)) && (!fRTL)) ||
709
((((
_targetResizeRules
& SelectionRules.LeftSizeable) != 0) && ((resizeRules & SelectionRules.LeftSizeable) != 0)) && (fRTL)))
721
if (((((
_targetResizeRules
& SelectionRules.RightSizeable) != 0) && ((resizeRules & SelectionRules.RightSizeable) != 0)) && (fRTL)) ||
722
((((
_targetResizeRules
& SelectionRules.LeftSizeable) != 0) && ((resizeRules & SelectionRules.LeftSizeable) != 0)) && (!fRTL)))
745
bounds = AdjustToGrid(bounds,
_targetResizeRules
);