22 writes to left
System.Private.Windows.Core (1)
_generated\214\Windows.Win32.RECT.g.cs (1)
52 this.left = left;
System.Windows.Forms (21)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (2)
1998rect.left = _control.Left; 2003rect.left = x;
System\Windows\Forms\Controls\ListView\ListView.cs (3)
3596left = (int)portion 3625left = 0 3672left = (int)portion,
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
67groupRect.left = Math.Max(listViewBounds.Left, groupRect.left);
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
2513clientRect.left = newLeft;
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
42clientRect.left += offsetX;
System\Windows\Forms\Controls\TreeView\TreeNode.cs (3)
239{ *((IntPtr*)&rc.left) = Handle; } 262{ *((IntPtr*)&rc.left) = Handle; } 626{ *((IntPtr*)&rc.left) = Handle; }
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
2754*((IntPtr*)&rc.left) = nmtv->itemOld.hItem;
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (4)
127rc2.left = rc.left + SIZE_ICON_X + 2 * PADDING_HORZ; 161rc2.left = rc.left; 172rc2.left = rc.left; 177rc2.left = rc.right - 1;
System\Windows\Forms\Printing\PageSetupDialog.cs (3)
306dialogSettings.rtMinMargin.left = margins.Left; 315dialogSettings.rtMargin.left = margins.Left; 323dialogSettings.rtMargin.left = Math.Max(dialogSettings.rtMargin.left, dialogSettings.rtMinMargin.left);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
1070rc.left -= sz.Width;
System\Windows\Forms\ToolTip\ToolTip.cs (1)
1331left = (rect.left < screen.WorkingArea.Left) ? screen.WorkingArea.Left : rect.left,
59 references to left
System.Private.Windows.Core (5)
_generated\214\Windows.Win32.RECT.g.cs (5)
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; 68 internal readonly int X => this.left; 74 public static implicit operator global::System.Drawing.Rectangle(RECT value) => new global::System.Drawing.Rectangle(value.left, value.top, value.Width, value.Height); 76 public static implicit operator global::System.Drawing.RectangleF(RECT value) => new global::System.Drawing.RectangleF(value.left, value.top, value.Width, value.Height);
System.Windows.Forms (54)
System\Windows\Forms\Accessibility\LabelEditUiaTextProvider.cs (1)
288clientLocation.X = Math.Max(clientLocation.X, clientRectangle.left);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (6)
459Point p1 = new(rc.left, rc.top); 460Point p2 = new(rc.right - rc.left, rc.bottom - rc.top); 2009rect.right = rect.left + _control.Width; 2014rect.right = rect.left + width; 2035x = rect.left; 2041width = rect.right - rect.left;
System\Windows\Forms\Control.cs (3)
1762if ((r.left <= p.X && p.X < r.right && r.top <= p.Y && p.Y < r.bottom) || PInvoke.GetCapture() == HWND) 9562clientOffset = new(clientOffset.X - windowRect.left, clientOffset.Y - windowRect.top); 11600rect.left,
System\Windows\Forms\Control.MetafileDCWrapper.cs (2)
177xDest = rect.left; 184xDest = rect.left;
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (1)
361clientLocation.X = Math.Max(clientLocation.X, clientRectangle.left);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
1457int comboXMid = PARAM.SignedLOWORD(m.LParamInternal) + (editRectMid.left - comboRectMid.left);
System\Windows\Forms\Controls\ComboBox\ComboBox.Modern.cs (1)
492new Point(bounds.left, bounds.top));
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
310if ((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)
1515if (r.left <= x && x < r.right && r.top <= y && y < r.bottom)
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
67groupRect.left = Math.Max(listViewBounds.Left, groupRect.left);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarButtonAccessibleObject.cs (1)
63int x = rectangle.left + (rectangle.Width / 2);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3824Point location = parent.PointToScreen(new(rect.left, rect.top));
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (6)
2508int newLeft = clientRect.left + padding.Left; 2626RegionScope nonClientRegion = new(windowRect.left, windowRect.top, windowRect.right, windowRect.bottom); 2922scrollBarInfo.rcScrollBar.left - windowRect.left, 2924scrollBarInfo.rcScrollBar.right - windowRect.left, 2948clientTopLeft.X - windowRect.left,
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (1)
126clientLocation.X = Math.Max(clientLocation.X, clientRectangle.left);
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (2)
36int offsetX = -rect.left; // one to get back to 0,0, another to translate 119absoluteClientRectangle.left,
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 (5)
127rc2.left = rc.left + SIZE_ICON_X + 2 * PADDING_HORZ; 161rc2.left = rc.left; 167rc2.right = rc.left + 1; 172rc2.left = rc.left; 269PInvoke.PatBlt(dc, rc.left, rc.top, rc.Width, rc.Height, ROP_CODE.PATCOPY);
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)
3920p.X = (ownerRect.left + ownerRect.right - s.Width) / 2;
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)
288-rect.left,
System\Windows\Forms\Printing\PageSetupDialog.cs (3)
251Left = data.rtMargin.left, 323dialogSettings.rtMargin.left = Math.Max(dialogSettings.rtMargin.left, dialogSettings.rtMinMargin.left);
System\Windows\Forms\ToolTip\ToolTip.cs (10)
1324if (cursorLocation.X < rect.left || cursorLocation.X > rect.right || 1331left = (rect.left < screen.WorkingArea.Left) ? screen.WorkingArea.Left : rect.left, 1337p.X = visibleRect.left + visibleRect.Width / 2; 1414int pointX = r.left + point.X; 1434int pointX = r.left + point.X; 1452int pointX = r.left + x; 1470int pointX = r.left + x; 2010if (cursorLocation.X >= r.left && cursorLocation.X <= r.right && 2108rect.left,