10 writes to Left
System.Windows.Forms (7)
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (1)
184control.Left = Twip2Pixel(value, xDirection: true);
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
459_horizScrollBar.Left = 0; 466_vertScrollBar.Left = ClientRectangle.Width - _vertScrollBar.Width;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
315Left -= (Width - oldWidth);
System\Windows\Forms\Printing\PrintPreviewControl.cs (3)
69Left = _focusHOffset, 822_vScrollBar.Left = availableRect.Left; 827_vScrollBar.Left = availableRect.Right - _vScrollBar.Width;
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\FormatStringDialog.cs (2)
93_okButton.Left += formatControlRightSideOffset - cancelButtonRightSideOffset; 94_cancelButton.Left += formatControlRightSideOffset - cancelButtonRightSideOffset;
System\Windows\Forms\Design\SelectionUIHandler.cs (1)
430controls[i].Left = adjustedLoc.X;
34 references to Left
System.Windows.Forms (27)
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (1)
179get => Pixel2Twip(GetControl()?.Left ?? 0, xDirection: true);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1998rect.left = _control.Left;
System\Windows\Forms\Control.cs (5)
8304Rectangle shift = new(-Left, -Top, parent.Width, parent.Height); 8308rectangle.Left + Left, 8316PInvokeCore.OffsetViewportOrgEx(hdc, -Left, -Top, lppt: null); 10140/// <param name="x">The new <see cref="Left" /> property value of the control.</param> 12007if ((wp->flags & SET_WINDOW_POS_FLAGS.SWP_NOMOVE) == 0 && (wp->x != Left || wp->y != Top))
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
2574int sx = (int)Math.Round(Left * dx); 2576int sw = (int)Math.Round((Left + Width) * dx - sx);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (2)
158_titleLabel.Left, 165_descriptionLabel.Left,
System\Windows\Forms\Controls\Splitter\Splitter.cs (6)
419OnSplitterMoved(new SplitterEventArgs(Left, Top, (Left + bounds.Width / 2), (Top + bounds.Height / 2))); 745if (target.Right == Left) 752if (target.Left == Right) 823int x = e.X + Left; 957int size = GetSplitSize(splitTarget, x - Left + _anchor.X, y - Top + _anchor.Y);
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
752private bool ShouldSerializeLocation() => Left != 0 || Top != 0;
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
1937Left, 1950Left,
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.cs (1)
216x = _control.Left - size.Width - _iconPadding;
System\Windows\Forms\Form.cs (3)
4259form.SetBounds(new Rectangle(Left, Top, adjustedSize.Width, adjustedSize.Height), BoundsSpecified.None); 4395Point pointToSnap = new(button.Left + button.Width / 2, button.Top + button.Height / 2); 5974return Left != 0 || Top != 0;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (2)
767r.X = _splitterRect.X - Left; 991SplitterCancelEventArgs se = new(Left + SplitterRectangle.X + SplitterRectangle.Width / 2, Top + SplitterRectangle.Y + SplitterRectangle.Height / 2, xSplit, ySplit);
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
464private Rectangle ResizeBoxRectangle => new(_vScrollBar.Left, _hScrollBar.Top, _vScrollBar.Width, _hScrollBar.Height);
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\Behavior\BehaviorService.cs (1)
272Point pt = new(c.Left, c.Top);
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (2)
945if (propLeft is not null && _resizeComponents[i].resizeControl.Left != _resizeComponents[i].resizeBounds.X) 947propLeft.SetValue(_resizeComponents[i].resizeControl, _resizeComponents[i].resizeControl.Left);
System\Windows\Forms\Design\FormatStringDialog.cs (1)
103result += control.Left;
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
420if (newChild.Left == 0 && newChild.Top == 0 && newChild.Width >= Control.Width && newChild.Height >= Control.Height)
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (1)
104Point pt = new(c.Left, c.Top);
WindowsFormsIntegration (1)
System\Windows\Integration\HostUtils.cs (1)
199g.DrawImage(parentBitmap, -childElementHost.Left, -childElementHost.Top);