9 writes to Right
System.Windows.Forms (9)
System\Windows\Forms\Layout\DefaultLayout.cs (9)
202
anchorInfo.
Right
+= growOrShrink;
742
Right
= anchorInfo.Right,
749
anchorInfo.
Right
= elementBounds.Right;
760
anchorInfo.
Right
-= parentDisplayRect.X;
769
anchorInfo.
Right
= oldAnchorInfo.Right;
778
anchorInfo.
Right
-= parentWidth;
788
anchorInfo.
Right
-= parentWidth / 2;
893
anchorInfo.
Right
= displayRectangle.Width - (x + elementBounds.Width);
1003
anchorInfo.
Right
= (int)Math.Round(anchorInfo.Right * widthFactor);
11 references to Right
System.Windows.Forms (11)
System\Windows\Forms\Layout\DefaultLayout.cs (11)
185
width = displayRectangle.Width - (anchorInfo.
Right
+ anchorInfo.Left);
194
anchorInfo.Left = displayRectangle.Width - width - anchorInfo.
Right
;
200
int growOrShrink = (displayRectangle.Width - (anchorInfo.Left + anchorInfo.
Right
+ width)) / 2;
242
int right = layout.
Right
+ displayRect.X;
742
Right = anchorInfo.
Right
,
766
if (ScaleHelper.IsScalingRequirementMet && (anchorInfo.
Right
- parentWidth > 0) && (oldAnchorInfo.
Right
< 0))
769
anchorInfo.Right = oldAnchorInfo.
Right
;
773
anchorInfo.Left = oldAnchorInfo.
Right
- cachedBounds.Width;
1003
anchorInfo.Right = (int)Math.Round(anchorInfo.
Right
* widthFactor);
1155
prefSize.Width = Math.Max(prefSize.Width, anchorInfo is null ? bounds.Right : bounds.Right + anchorInfo.
Right
);