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