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