9 writes to Right
System.Windows.Forms (9)
System\Windows\Forms\Layout\DefaultLayout.cs (9)
202
anchorInfo.
Right
+= growOrShrink;
737
Right
= anchorInfo.Right,
744
anchorInfo.
Right
= elementBounds.Right;
755
anchorInfo.
Right
-= parentDisplayRect.X;
764
anchorInfo.
Right
= oldAnchorInfo.Right;
773
anchorInfo.
Right
-= parentWidth;
783
anchorInfo.
Right
-= parentWidth / 2;
885
anchorInfo.
Right
= displayRectangle.Width - (x + elementBounds.Width);
995
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;
737
Right = anchorInfo.
Right
,
761
if (ScaleHelper.IsScalingRequirementMet && (anchorInfo.
Right
- parentWidth > 0) && (oldAnchorInfo.
Right
< 0))
764
anchorInfo.Right = oldAnchorInfo.
Right
;
768
anchorInfo.Left = oldAnchorInfo.
Right
- cachedBounds.Width;
995
anchorInfo.Right = (int)Math.Round(anchorInfo.
Right
* widthFactor);
1147
prefSize.Width = Math.Max(prefSize.Width, anchorInfo is null ? bounds.Right : bounds.Right + anchorInfo.
Right
);