6 writes to Left
System.Windows.Forms (6)
winforms\Managed\System\WinForms\AxHost.cs (1)
6249
GetP().
Left
= Twip2Pixel(value, true);
winforms\Managed\System\WinForms\DataGrid.cs (2)
341
horizScrollBar.
Left
= 0;
347
vertScrollBar.
Left
= ClientRectangle.Width - vertScrollBar.Width;
winforms\Managed\System\WinForms\DataGridView.cs (2)
505
this.horizScrollBar.
Left
= 0;
512
this.vertScrollBar.
Left
= this.ClientRectangle.Width - vertScrollBar.Width;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
5715
this.
Left
-= (this.Width - oldWidth);
42 references to Left
System.Windows.Forms (30)
winforms\Managed\System\WinForms\AxHost.cs (1)
6243
return Pixel2Twip(GetP().
Left
, true);
winforms\Managed\System\WinForms\Control.cs (5)
9803
Rectangle shift = new Rectangle(-this.
Left
,-this.Top, parent.Width, parent.Height);
9806
Rectangle newClipRect = new Rectangle(rectangle.Left + this.
Left
, rectangle.Top + this.Top, rectangle.Width, rectangle.Height);
9809
wg.DeviceContext.TranslateTransform(-this.
Left
, -this.Top);
13843
if ((wp->flags & NativeMethods.SWP_NOMOVE) == 0 && (wp->x !=
Left
|| wp->y != Top)) {
18633
rc.left = control.
Left
;
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
1529
x = control.
Left
- size.Width - iconPadding;
winforms\Managed\System\WinForms\Form.cs (7)
4820
form.SetBounds(new Rectangle(this.
Left
, this.Top, adjustedSize.Width, adjustedSize.Height), BoundsSpecified.None);
4997
button.
Left
+ button.Width / 2,
5995
adjustedBounds.X =
Left
;
6290
return
Left
!= 0 || Top != 0;
7854
Rectangle r = new Rectangle(owner.
Left
, owner.Top, s.Width, SystemInformation.CaptionHeight);
7918
UnsafeNativeMethods.SendMessage(new HandleRef(window, window.Handle), NativeMethods.TTM_TRACKPOSITION, 0, NativeMethods.Util.MAKELONG(owner.
Left
+ s.Width / 2, owner.Top + SystemInformation.CaptionHeight));
7938
UnsafeNativeMethods.SendMessage(new HandleRef(window, window.Handle), NativeMethods.TTM_TRACKPOSITION, 0, NativeMethods.Util.MAKELONG(owner.
Left
+ s.Width / 2, owner.Top + SystemInformation.CaptionHeight));
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
2963
int sx = (int)Math.Round(
Left
* dx);
2966
sw = (int)Math.Round((
Left
+ Width) * dx - sx);
winforms\Managed\System\WinForms\PropertyGridInternal\DocComment.cs (2)
148
m_labelTitle.
Left
,
154
m_labelDesc.
Left
,
winforms\Managed\System\WinForms\SplitContainer.cs (2)
910
r.X = splitterRect.X -
Left
;
1182
SplitterCancelEventArgs se = new SplitterCancelEventArgs(this.
Left
+ SplitterRectangle.X + SplitterRectangle.Width/2, this.Top + SplitterRectangle.Y + SplitterRectangle.Height/2, xSplit, ySplit);
winforms\Managed\System\WinForms\Splitter.cs (7)
469
OnSplitterMoved(new SplitterEventArgs(
Left
, Top, (
Left
+ bounds.Width / 2), (Top + bounds.Height / 2)));
820
if (target.Right ==
Left
) return(Control)target;
823
if (target.
Left
== Right) return(Control)target;
891
int x = e.X +
Left
;
907
int x = e.X +
Left
;
1039
int size = GetSplitSize(x-
Left
+anchor.X, y-Top+anchor.Y);
winforms\Managed\System\WinForms\TabPage.cs (1)
759
return
Left
!= 0 || Top != 0;
winforms\Managed\System\WinForms\TreeView.cs (2)
2045
SafeNativeMethods.SetWindowPos(new HandleRef(this, this.Handle), NativeMethods.NullHandleRef, this.
Left
, this.Top, Int32.MaxValue, this.Height, flags);
2051
SafeNativeMethods.SetWindowPos(new HandleRef(this, this.Handle), NativeMethods.NullHandleRef, this.
Left
, this.Top, oldSize, this.Height, flags);
System.Workflow.ComponentModel (12)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (8)
549
Point top = new Point(this.propertiesGrid.Right + (this.dummyPreviewPanel.
Left
- this.propertiesGrid.Right) / 2, this.themePanel.Margin.Top);
558
e.Graphics.DrawLine(framePen, this.designerPreview.
Left
- margin.Width, this.designerPreview.Top - 1, this.designerPreview.Right + margin.Width, this.designerPreview.Top - 1);
559
e.Graphics.DrawLine(framePen, this.designerPreview.
Left
- margin.Width, this.designerPreview.Bottom + 1, this.designerPreview.Right + margin.Width, this.designerPreview.Bottom + 1);
560
e.Graphics.DrawLine(framePen, this.designerPreview.
Left
- 1, this.designerPreview.Top - margin.Height, this.designerPreview.
Left
- 1, this.designerPreview.Bottom + margin.Height);
618
this.themePanel.Width = this.designerPreview.Right + ((this.designerPreview.
Left
- this.propertiesGrid.Right) / 2);
623
this.themePanel.Width = this.themeConfigPanel.Right + this.themeConfigPanel.
Left
;
626
Width = this.themePanel.Right + this.themePanel.
Left
+ Margin.Left + Margin.Right;
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (4)
519
paintArgs.Graphics.DrawLine(SystemPens.WindowFrame, this.helpTextHolder.
Left
- 1, this.helpTextHolder.Top - 1, this.helpTextHolder.
Left
- 1, this.helpTextHolder.Bottom);
520
paintArgs.Graphics.DrawLine(SystemPens.WindowFrame, this.helpTextHolder.
Left
- 1, this.helpTextHolder.Bottom, this.helpTextHolder.Right, this.helpTextHolder.Bottom);
522
paintArgs.Graphics.DrawLine(SystemPens.WindowFrame, this.helpTextHolder.Right, this.helpTextHolder.Top - 1, this.helpTextHolder.
Left
- 1, this.helpTextHolder.Top - 1);