37 writes to left
UIAutomationClientSideProviders (37)
MS\Internal\AutomationProxies\Accessible.cs (1)
1290
acc.accLocation(out rect.
left
, out rect.top, out rect.right/*width*/, out rect.bottom/*height*/, idChild );
MS\Internal\AutomationProxies\CommonXSendMessage.cs (1)
1184
IntPtr localRectStart = new IntPtr(&rectW32.
left
);
MS\Internal\AutomationProxies\WindowsListView.cs (4)
1269
itemRectangle.
left
= lvir;
1271
fixed (int * location = &(itemRectangle.
left
))
1491
itemRectangle.
left
= lvir;
1494
fixed (int * location = &(itemRectangle.
left
))
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (2)
725
groupRc.
left
= rcLv.left;
749
groupRc.
left
+= width;
MS\Internal\AutomationProxies\WindowsListViewItem.cs (1)
110
itemRectangle.
left
= NativeMethods.LVIR_BOUNDS;
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (2)
101
itemRectangle.
left
= itemRectangle1.right;
120
itemRectangle.
left
+= (checkboxRectangle.right - checkboxRectangle.left);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (2)
172
sbi.rcScrollBar.
left
= (int)rcParent.Left + offset;
179
sbi.rcScrollBar.
left
= sbi.rcScrollBar.right - width;
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (10)
245
sbi.rcScrollBar.
left
= (int)rcParent.Left + offset;
252
sbi.rcScrollBar.
left
= sbi.rcScrollBar.right - width;
305
rc.
left
= sbi.rcScrollBar.left;
440
rc.
left
= sbi.rcScrollBar.left;
447
rc.
left
= rc.right;
452
rc.
left
= rc.right = sbi.rcScrollBar.left + sizeArrow.cx;
459
rc.
left
= rc.right = sbi.rcScrollBar.left + sizeArrow.cx;
467
rc.
left
= sbi.rcScrollBar.left + sizeArrow.cx;
471
rc.
left
= rc.right = sbi.rcScrollBar.left + sizeArrow.cx;
476
rc.
left
= sbi.rcScrollBar.right - sizeArrow.cx;
MS\Internal\AutomationProxies\WindowsSlider.cs (2)
457
rcChannel.
left
= rcChannel.right = rcChannel.top = rcChannel.bottom = 1000;
469
rcThumb.
left
= rcThumb.right = rcThumb.top = rcThumb.bottom = 1000;
MS\Internal\AutomationProxies\WindowsStatusBar.cs (1)
351
info.rc.
left
= (int)rc.Left;
MS\Internal\AutomationProxies\WindowsSysHeader.cs (4)
597
rectW32.
left
+= cxBorder;
600
rectW32.
left
= rectW32.right;
618
rectW32.
left
+= cxBorder;
621
rectW32.
left
= rectW32.right;
MS\Internal\AutomationProxies\WindowsTab.cs (1)
578
viewable.
left
= 0;
MS\Internal\AutomationProxies\WindowsTreeView.cs (2)
555
*((IntPtr *)&(rc.
left
)) = treeItem;
557
IntPtr rectangle = new IntPtr (&(rc.
left
));
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
598
updownRect.
left
= updownRect.left + width / 2;
MS\Win32\NativeMethods.cs (3)
1178
this.
left
= left;
1186
this.
left
= (int)rc.Left;
1235
this.
left
= this.right;
120 references to left
UIAutomationClientSideProviders (120)
MS\Internal\AutomationProxies\Accessible.cs (5)
1050
if (rect1.
left
!= rect2.
left
)
1305
rect.right += rect.
left
; // convert width to right
1460
if( loc.
left
!= ownLoc.
left
MS\Internal\AutomationProxies\ClickablePoint.cs (3)
204
_left = rc.
left
;
249
if ((rc.right - rc.
left
) <= 0 || (rc.bottom - rc.top) <= 0)
257
int x = (rc.right + rc.
left
) / 2;
MS\Internal\AutomationProxies\Misc.cs (8)
242
NativeMethods.Win32Point leftTop = new NativeMethods.Win32Point(rc.
left
, rc.top);
1243
left = ti.rcTitleBar.
left
;
1249
left = (!retValue || mbi.rcBar.IsEmpty) ? ti.rcTitleBar.
left
: mbi.rcBar.
left
;
1368
return x >= rc.
left
&& x < rc.right && y >= rc.top && y < rc.bottom;
1385
return x >= rc.
left
&& x < rc.right && y >= rc.top && y < rc.bottom;
2086
rects[i] = new Rect(ti.rgrect[i].
left
, ti.rgrect[i].top, ti.rgrect[i].right - ti.rgrect[i].
left
, ti.rgrect[i].bottom - ti.rgrect[i].top);
MS\Internal\AutomationProxies\ProxyHwnd.cs (1)
488
return x >= rc.
left
&& x < rc.right && y >= rc.top && y < rc.bottom;
MS\Internal\AutomationProxies\ProxySimple.cs (1)
598
pt.x = (rcItem.right - 1 + rcItem.
left
) / 2;
MS\Internal\AutomationProxies\WindowsEditBox.cs (5)
365
clientLocation.x = Math.Max(clientLocation.x, clientRect.
left
);
567
return new Rect(rect.
left
, rect.top, rect.right - rect.
left
, rect.bottom - rect.top);
602
NativeMethods.Win32Point ptStart = new NativeMethods.Win32Point((int)(rect.
left
+ size.cx / 4), (int)(rect.top + size.cy / 4));
611
if (pt.X < rect.
left
)
MS\Internal\AutomationProxies\WindowsGrip.cs (3)
57
return new Rect(client.
left
- sizeGrip.cx, client.bottom, sizeGrip.cx, sizeGrip.cy);
91
if (client.
left
< 0 && client.top < 0 )
106
int x = client.
left
+ (int)(sizeGrip.cx / 2);
MS\Internal\AutomationProxies\WindowsHyperlink.cs (1)
450
int width = BoundingRect.right - BoundingRect.
left
;
MS\Internal\AutomationProxies\WindowsListBox.cs (1)
294
int ret = Misc.ProxySendMessageInt(_hwnd, NativeMethods.LB_ITEMFROMPOINT, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x - listboxrect.
left
, y - listboxrect.top));
MS\Internal\AutomationProxies\WindowsListViewGroup.cs (4)
692
if (rc1.
left
< rc2.
left
)
697
if (rc1.
left
> rc2.
left
)
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (7)
623
if (rc1.
left
< rc2.
left
|| rc1.top < rc2.top)
627
else if (rc1.
left
!= rc2.
left
|| rc1.top != rc2.top)
725
groupRc.left = rcLv.
left
;
744
int width = rc.right - rc.
left
;
816
return new NativeMethods.Win32Rect(sbi.rcScrollBar.
left
, sbi.rcScrollBar.top, sbi.rcScrollBar.right, sbi.rcScrollBar.bottom);
MS\Internal\AutomationProxies\WindowsListViewItem.cs (3)
931
NativeMethods.Win32Point pt = new NativeMethods.Win32Point (itemRectangle.
left
, 0);
950
clickPoint.x = Math.Min ((itemRectangle.
left
+ 5), (itemRectangle.
left
+ itemRectangle.right) / 2);
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (9)
163
if ((WindowsListView.GetItemRect(hwnd, item, NativeMethods.LVIR_ICON, out rc) && rc.
left
!= rc.right) || (WindowsListView.GetItemRect(hwnd, item, NativeMethods.LVIR_LABEL, out rc) && rc.
left
!= rc.right))
165
int right = controlRectangle.
left
+ (rc.
left
- controlRectangle.
left
);
167
return new NativeMethods.Win32Rect (controlRectangle.
left
, rc.top, right, rc.bottom);
193
return new NativeMethods.Win32Rect (wholeItem.
left
, wholeItem.top, selectable.
left
, wholeItem.bottom);
248
NativeMethods.Win32Point pt = new NativeMethods.Win32Point((rc.
left
+ rc.right) / 2, (rc.top + rc.bottom) / 2);
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (3)
105
itemRectangle.right = itemRectangle1.
left
;
116
itemRectangle.right -= (checkboxRectangle.right - checkboxRectangle.
left
);
120
itemRectangle.left += (checkboxRectangle.right - checkboxRectangle.
left
);
MS\Internal\AutomationProxies\WindowsMenu.cs (4)
809
int leftEdge = mbi.rcBar.
left
;
810
int buttonWidth = mbi.rcBar.right - mbi.rcBar.
left
;
1253
int leftEdge = mbi.rcBar.
left
;
1254
int buttonWidth = mbi.rcBar.right - mbi.rcBar.
left
;
MS\Internal\AutomationProxies\WindowsRebar.cs (4)
129
if (x >= rebarRect.
left
&& x <= rebarRect.right &&
132
x = x - rebarRect.
left
;
413
return new Rect (rectW32.
left
, rectW32.top, rectW32.bottom - rectW32.top, rectW32.right - rectW32.
left
);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (2)
175
Rect clientRect = new Rect(w32rect.
left
, w32rect.top, w32rect.right - w32rect.
left
, w32rect.bottom - w32rect.top);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (6)
151
long area = (sbi.rcScrollBar.right - sbi.rcScrollBar.
left
) * (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top);
167
int width = sbi.rcScrollBar.right - sbi.rcScrollBar.
left
;
173
sbi.rcScrollBar.right = sbi.rcScrollBar.
left
+ width;
177
int offset = sbi.rcScrollBar.
left
- (int)rcParent.Left;
457
long area = (sbi.rcScrollBar.right - sbi.rcScrollBar.
left
) * (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top);
474
fThumbVisible = (sbi.rcScrollBar.right - sbi.rcScrollBar.
left
>= 5 * sizeArrow.cx / 2);
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (16)
240
int width = sbi.rcScrollBar.right - sbi.rcScrollBar.
left
;
246
sbi.rcScrollBar.right = sbi.rcScrollBar.
left
+ width;
250
int offset = sbi.rcScrollBar.
left
- (int)rcParent.Left;
263
long area = (sbi.rcScrollBar.right - sbi.rcScrollBar.
left
) * (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top);
297
NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect(sbi.rcScrollBar.
left
, sbi.xyThumbTop, sbi.rcScrollBar.right, sbi.xyThumbBottom);
305
rc.left = sbi.rcScrollBar.
left
;
407
bool fThumbVisible = sbi.rcScrollBar.right - sbi.rcScrollBar.
left
>= 5 * sizeArrow.cx / 2;
408
if (sbi.rcScrollBar.right - sbi.rcScrollBar.
left
< 2 * sizeArrow.cx)
411
sizeArrow.cx = (sbi.rcScrollBar.right - sbi.rcScrollBar.
left
) / 2;
440
rc.left = sbi.rcScrollBar.
left
;
441
rc.right = sbi.rcScrollBar.
left
+ sizeArrow.cx;
452
rc.left = rc.right = sbi.rcScrollBar.
left
+ sizeArrow.cx;
459
rc.left = rc.right = sbi.rcScrollBar.
left
+ sizeArrow.cx;
466
rc.right = rc.
left
;
467
rc.left = sbi.rcScrollBar.
left
+ sizeArrow.cx;
471
rc.left = rc.right = sbi.rcScrollBar.
left
+ sizeArrow.cx;
MS\Internal\AutomationProxies\WindowsSlider.cs (10)
498
return new Rect (rcChannel.
left
, rcChannel.top, rcThumb.
left
- rcChannel.
left
, rcChannel.bottom - rcChannel.top);
501
return new Rect (rcThumb.
left
, rcThumb.top, rcThumb.right - rcThumb.
left
, rcThumb.bottom - rcThumb.top);
510
int dy = rcChannel.right - rcChannel.
left
;
515
return new Rect (rcChannel.
left
, rcChannel.top, dx, rcThumb.top - rcChannel.top);
518
return new Rect (rcThumb.
left
, rcThumb.top, rcThumb.right - rcThumb.
left
, rcThumb.bottom - rcThumb.top);
521
return new Rect (rcChannel.
left
, rcThumb.bottom, dx, dy);
MS\Internal\AutomationProxies\WindowsStatusBar.cs (4)
371
if (rc.
left
== info->rc.
left
&& rc.top == info->rc.top && rc.right == info->rc.right && rc.bottom == info->rc.bottom)
809
return new NativeMethods.Win32Rect(client.
left
, client.bottom - sizeGrip.cy, client.
left
+ sizeGrip.cx, client.bottom);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (8)
598
if (rectW32.
left
> rectW32.right)
607
if (rectW32.right < rectW32.
left
)
609
rectW32.right = rectW32.
left
;
619
if (rectW32.
left
> rectW32.right)
627
if (rectW32.right < rectW32.
left
)
629
rectW32.right = rectW32.
left
;
728
IntPtr center = NativeMethods.Util.MAKELPARAM (rectW32.
left
+ ((rectW32.right - rectW32.
left
) / 2), rectW32.top + ((rectW32.bottom - rectW32.top) / 2));
MS\Internal\AutomationProxies\WindowsTab.cs (2)
586
double viewableRange = viewable.right - viewable.
left
;
603
viewableRange -= rectW32.right - rectW32.
left
;
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
1467
NativeMethods.Win32Point pt = new NativeMethods.Win32Point(((rectItem.
left
+ rectItem.right) / 2), ((rectItem.top + rectItem.bottom) / 2));
MS\Internal\AutomationProxies\WindowsUpDown.cs (5)
541
int x = (int) rc.Left - updownRect.
left
+ (int) rc.Width / 2;
583
int width = (updownRect.right - updownRect.
left
);
584
updownRect.right = updownRect.
left
+ width / 2;
597
int width = (updownRect.right - updownRect.
left
);
598
updownRect.left = updownRect.
left
+ width / 2;
MS\Win32\NativeMethods.cs (4)
1196
return
left
>= right || top >= bottom;
1220
return new Rect(rc.
left
, rc.top, rc.right - rc.
left
, rc.bottom - rc.top);
1234
int temp = this.
left
;