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