9 writes to Right
System.Windows.Forms (9)
System\Windows\Forms\Layout\DefaultLayout.cs (9)
203
anchorInfo.
Right
+= growOrShrink;
738
Right
= anchorInfo.Right,
745
anchorInfo.
Right
= elementBounds.Right;
756
anchorInfo.
Right
-= parentDisplayRect.X;
765
anchorInfo.
Right
= oldAnchorInfo.Right;
774
anchorInfo.
Right
-= parentWidth;
784
anchorInfo.
Right
-= parentWidth / 2;
886
anchorInfo.
Right
= displayRectangle.Width - (x + elementBounds.Width);
996
anchorInfo.
Right
= (int)Math.Round(anchorInfo.Right * widthFactor);
11 references to Right
System.Windows.Forms (11)
System\Windows\Forms\Layout\DefaultLayout.cs (11)
186
width = displayRectangle.Width - (anchorInfo.
Right
+ anchorInfo.Left);
195
anchorInfo.Left = displayRectangle.Width - width - anchorInfo.
Right
;
201
int growOrShrink = (displayRectangle.Width - (anchorInfo.Left + anchorInfo.
Right
+ width)) / 2;
243
int right = layout.
Right
+ displayRect.X;
738
Right = anchorInfo.
Right
,
762
if (ScaleHelper.IsScalingRequirementMet && (anchorInfo.
Right
- parentWidth > 0) && (oldAnchorInfo.
Right
< 0))
765
anchorInfo.Right = oldAnchorInfo.
Right
;
769
anchorInfo.Left = oldAnchorInfo.
Right
- cachedBounds.Width;
996
anchorInfo.Right = (int)Math.Round(anchorInfo.
Right
* widthFactor);
1148
prefSize.Width = Math.Max(prefSize.Width, anchorInfo is null ? bounds.Right : bounds.Right + anchorInfo.
Right
);