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