37 writes to left
UIAutomationClientSideProviders (37)
MS\Internal\AutomationProxies\Accessible.cs (1)
1265
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)
1266
itemRectangle.
left
= lvir;
1268
fixed (int * location = &(itemRectangle.
left
))
1489
itemRectangle.
left
= lvir;
1492
fixed (int * location = &(itemRectangle.
left
))
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (2)
728
groupRc.
left
= rcLv.left;
752
groupRc.
left
+= width;
MS\Internal\AutomationProxies\WindowsListViewItem.cs (1)
106
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)
169
sbi.rcScrollBar.
left
= (int)rcParent.Left + offset;
176
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)
352
info.rc.
left
= (int)rc.Left;
MS\Internal\AutomationProxies\WindowsSysHeader.cs (4)
592
rectW32.
left
+= cxBorder;
595
rectW32.
left
= rectW32.right;
613
rectW32.
left
+= cxBorder;
616
rectW32.
left
= rectW32.right;
MS\Internal\AutomationProxies\WindowsTab.cs (1)
576
left
= 0
MS\Internal\AutomationProxies\WindowsTreeView.cs (2)
552
*((IntPtr *)&(rc.
left
)) = treeItem;
554
IntPtr rectangle = new IntPtr (&(rc.
left
));
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
595
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)
1025
if (rect1.
left
!= rect2.
left
)
1280
rect.right += rect.
left
; // convert width to right
1435
if( loc.
left
!= ownLoc.
left
MS\Internal\AutomationProxies\ClickablePoint.cs (3)
201
_left = rc.
left
;
246
if ((rc.right - rc.
left
) <= 0 || (rc.bottom - rc.top) <= 0)
254
int x = (rc.right + rc.
left
) / 2;
MS\Internal\AutomationProxies\Misc.cs (8)
237
NativeMethods.Win32Point leftTop = new NativeMethods.Win32Point(rc.
left
, rc.top);
1236
left = ti.rcTitleBar.
left
;
1242
left = (!retValue || mbi.rcBar.IsEmpty) ? ti.rcTitleBar.
left
: mbi.rcBar.
left
;
1361
return x >= rc.
left
&& x < rc.right && y >= rc.top && y < rc.bottom;
1378
return x >= rc.
left
&& x < rc.right && y >= rc.top && y < rc.bottom;
2066
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)
483
return x >= rc.
left
&& x < rc.right && y >= rc.top && y < rc.bottom;
MS\Internal\AutomationProxies\ProxySimple.cs (1)
592
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)
451
int width = BoundingRect.right - BoundingRect.
left
;
MS\Internal\AutomationProxies\WindowsListBox.cs (1)
291
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)
693
if (rc1.
left
< rc2.
left
)
698
if (rc1.
left
> rc2.
left
)
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (7)
626
if (rc1.
left
< rc2.
left
|| rc1.top < rc2.top)
630
else if (rc1.
left
!= rc2.
left
|| rc1.top != rc2.top)
728
groupRc.left = rcLv.
left
;
747
int width = rc.right - rc.
left
;
819
return new NativeMethods.Win32Rect(sbi.rcScrollBar.
left
, sbi.rcScrollBar.top, sbi.rcScrollBar.right, sbi.rcScrollBar.bottom);
MS\Internal\AutomationProxies\WindowsListViewItem.cs (3)
928
NativeMethods.Win32Point pt = new NativeMethods.Win32Point (itemRectangle.
left
, 0);
947
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)
806
int leftEdge = mbi.rcBar.
left
;
807
int buttonWidth = mbi.rcBar.right - mbi.rcBar.
left
;
1250
int leftEdge = mbi.rcBar.
left
;
1251
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
;
415
return new Rect (rectW32.
left
, rectW32.top, rectW32.bottom - rectW32.top, rectW32.right - rectW32.
left
);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (2)
172
Rect clientRect = new Rect(w32rect.
left
, w32rect.top, w32rect.right - w32rect.
left
, w32rect.bottom - w32rect.top);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (6)
148
long area = (sbi.rcScrollBar.right - sbi.rcScrollBar.
left
) * (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top);
164
int width = sbi.rcScrollBar.right - sbi.rcScrollBar.
left
;
170
sbi.rcScrollBar.right = sbi.rcScrollBar.
left
+ width;
174
int offset = sbi.rcScrollBar.
left
- (int)rcParent.Left;
454
long area = (sbi.rcScrollBar.right - sbi.rcScrollBar.
left
) * (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top);
471
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)
372
if (rc.
left
== info->rc.
left
&& rc.top == info->rc.top && rc.right == info->rc.right && rc.bottom == info->rc.bottom)
810
return new NativeMethods.Win32Rect(client.
left
, client.bottom - sizeGrip.cy, client.
left
+ sizeGrip.cx, client.bottom);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (8)
593
if (rectW32.
left
> rectW32.right)
602
if (rectW32.right < rectW32.
left
)
604
rectW32.right = rectW32.
left
;
614
if (rectW32.
left
> rectW32.right)
622
if (rectW32.right < rectW32.
left
)
624
rectW32.right = rectW32.
left
;
720
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)
585
double viewableRange = viewable.right - viewable.
left
;
602
viewableRange -= rectW32.right - rectW32.
left
;
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
1464
NativeMethods.Win32Point pt = new NativeMethods.Win32Point(((rectItem.
left
+ rectItem.right) / 2), ((rectItem.top + rectItem.bottom) / 2));
MS\Internal\AutomationProxies\WindowsUpDown.cs (5)
538
int x = (int) rc.Left - updownRect.
left
+ (int) rc.Width / 2;
580
int width = (updownRect.right - updownRect.
left
);
581
updownRect.right = updownRect.
left
+ width / 2;
594
int width = (updownRect.right - updownRect.
left
);
595
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
;