15 writes to right
System.Private.Windows.Core (2)
Windows.Win32.RECT.g.cs (1)
54 this.right = right;
Windows\Win32\Foundation\RECT.cs (1)
12right = size.Width;
System.Windows.Forms (13)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (2)
2009rect.right = rect.left + _control.Width; 2014rect.right = rect.left + width;
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
68groupRect.right = Math.Min(listViewBounds.Right, groupRect.right);
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
43clientRect.right += offsetX;
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (4)
130rc2.right = rc.right; 164rc2.right = rc.right; 167rc2.right = rc.left + 1; 173rc2.right = rc.right;
System\Windows\Forms\Printing\PageSetupDialog.cs (3)
307dialogSettings.rtMinMargin.right = margins.Right; 316dialogSettings.rtMargin.right = margins.Right; 324dialogSettings.rtMargin.right = Math.Max(dialogSettings.rtMargin.right, dialogSettings.rtMinMargin.right);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
1071rc.right += sz.Width;
System\Windows\Forms\ToolTip\ToolTip.cs (1)
1329right = (rect.right > screen.WorkingArea.Right) ? screen.WorkingArea.Right : rect.right,
34 references to right
System.Private.Windows.Core (2)
Windows.Win32.RECT.g.cs (2)
62 internal readonly int Width => unchecked(this.right - this.left); 66 internal readonly bool IsEmpty => this.left == 0 && this.top == 0 && this.right == 0 && this.bottom == 0;
System.Windows.Forms (31)
System\Windows\Forms\Accessibility\LabelEditUiaTextProvider.cs (1)
289clientLocation.X = Math.Min(clientLocation.X, clientRectangle.right);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (2)
460Point p2 = new(rc.right - rc.left, rc.bottom - rc.top); 2041width = rect.right - rect.left;
System\Windows\Forms\Control.cs (2)
1590if ((r.left <= p.X && p.X < r.right && r.top <= p.Y && p.Y < r.bottom) || PInvoke.GetCapture() == HWND) 10864clientWidth = rect.right;
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (1)
362clientLocation.X = Math.Min(clientLocation.X, clientRectangle.right);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
302if ((r.left <= p.X && p.X < r.right && r.top <= p.Y && p.Y < r.bottom) || PInvoke.GetCapture() == HWND)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1513if (r.left <= x && x < r.right && r.top <= y && y < r.bottom)
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
68groupRect.right = Math.Min(listViewBounds.Right, groupRect.right);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
803return new Size(rect.right, rect.bottom);
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (1)
127clientLocation.X = Math.Min(clientLocation.X, clientRectangle.right);
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
587int deltaRightEdge = Math.Abs(rootHwndClientArea.right - gripLocation.X);
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
121absoluteClientRectangle.right,
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
632visible = (rc.bottom > 0 && rc.right > 0 && rc.top < size.Height && rc.left < size.Width);
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (1)
411RECT posRect = new(0, 0, lprcPosRect->right - lprcPosRect->left, lprcPosRect->bottom - lprcPosRect->top);
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (4)
130rc2.right = rc.right; 164rc2.right = rc.right; 173rc2.right = rc.right; 177rc2.left = rc.right - 1;
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (1)
99int x = screen.X + (screen.Width - r.right + r.left) / 2;
System\Windows\Forms\Form.cs (1)
3911p.X = (ownerRect.left + ownerRect.right - s.Width) / 2;
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
691return new Rectangle(topLeftPoint.X, topLeftPoint.Y, clientRectangle.right, clientRectangle.bottom);
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
453if ((r.left <= p.X && p.X < r.right && r.top <= p.Y && p.Y < r.bottom) || PInvoke.GetCapture() == HWND)
System\Windows\Forms\MDI\MDIClient.cs (1)
290bounds.Width - rect.right,
System\Windows\Forms\Printing\PageSetupDialog.cs (3)
253Right = data.rtMargin.right, 324dialogSettings.rtMargin.right = Math.Max(dialogSettings.rtMargin.right, dialogSettings.rtMinMargin.right);
System\Windows\Forms\ToolTip\ToolTip.cs (4)
1320if (cursorLocation.X < rect.left || cursorLocation.X > rect.right || 1329right = (rect.right > screen.WorkingArea.Right) ? screen.WorkingArea.Right : rect.right, 2012if (cursorLocation.X >= r.left && cursorLocation.X <= r.right &&
System.Windows.Forms.Interop.Tests (1)
RichTextBoxTests.cs (1)
136Assert.Equal(109, value.rc.right);