7 writes to Right
System.Windows.Forms (7)
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (7)
560
oldAnchorInfo.
Right
= anchorInfo.Right;
565
anchorInfo.
Right
= element.Bounds.Right;
578
anchorInfo.
Right
-= parentDisplayRect.X;
585
anchorInfo.
Right
= oldAnchorInfo.Right;
589
anchorInfo.
Right
-= parentWidth;
597
anchorInfo.
Right
-= (parentWidth/2);
707
anchorInfo.
Right
= (int)((float)anchorInfo.Right * factor.Width);
8 references to Right
System.Windows.Forms (8)
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (8)
138
int right = layout.
Right
+ displayRect.X;
560
oldAnchorInfo.Right = anchorInfo.
Right
;
583
if (DpiHelper.EnableAnchorLayoutHighDpiImprovements && (anchorInfo.
Right
- parentWidth > 0) && (oldAnchorInfo.
Right
< 0)) {
585
anchorInfo.Right = oldAnchorInfo.
Right
;
586
anchorInfo.Left = oldAnchorInfo.
Right
- bounds.Width; // control might have been resized, update Left anchor
619
Debug.WriteLineIf(CompModSwitches.RichLayout.TraceInfo, "anchor info (l,t,r,b): (" + anchorInfo.Left + ", " + anchorInfo.Top + ", " + anchorInfo.
Right
+ ", " + anchorInfo.Bottom + ")");
707
anchorInfo.Right = (int)((float)anchorInfo.
Right
* factor.Width);