37 writes to left
UIAutomationClientSideProviders (37)
MS\Internal\AutomationProxies\Accessible.cs (1)
1264
acc.accLocation(out rect.
left
, out rect.top, out rect.right/*width*/, out rect.bottom/*height*/, idChild );
MS\Internal\AutomationProxies\CommonXSendMessage.cs (1)
1183
IntPtr localRectStart = new IntPtr(&rectW32.
left
);
MS\Internal\AutomationProxies\WindowsListView.cs (4)
1265
itemRectangle.
left
= lvir;
1267
fixed (int * location = &(itemRectangle.
left
))
1488
itemRectangle.
left
= lvir;
1491
fixed (int * location = &(itemRectangle.
left
))
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (2)
727
groupRc.
left
= rcLv.left;
751
groupRc.
left
+= width;
MS\Internal\AutomationProxies\WindowsListViewItem.cs (1)
105
itemRectangle.
left
= NativeMethods.LVIR_BOUNDS;
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (2)
100
itemRectangle.
left
= itemRectangle1.right;
119
itemRectangle.
left
+= (checkboxRectangle.right - checkboxRectangle.left);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (2)
168
sbi.rcScrollBar.
left
= (int)rcParent.Left + offset;
175
sbi.rcScrollBar.
left
= sbi.rcScrollBar.right - width;
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (10)
244
sbi.rcScrollBar.
left
= (int)rcParent.Left + offset;
251
sbi.rcScrollBar.
left
= sbi.rcScrollBar.right - width;
304
rc.
left
= sbi.rcScrollBar.left;
439
rc.
left
= sbi.rcScrollBar.left;
446
rc.
left
= rc.right;
451
rc.
left
= rc.right = sbi.rcScrollBar.left + sizeArrow.cx;
458
rc.
left
= rc.right = sbi.rcScrollBar.left + sizeArrow.cx;
466
rc.
left
= sbi.rcScrollBar.left + sizeArrow.cx;
470
rc.
left
= rc.right = sbi.rcScrollBar.left + sizeArrow.cx;
475
rc.
left
= sbi.rcScrollBar.right - sizeArrow.cx;
MS\Internal\AutomationProxies\WindowsSlider.cs (2)
456
rcChannel.
left
= rcChannel.right = rcChannel.top = rcChannel.bottom = 1000;
468
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)
591
rectW32.
left
+= cxBorder;
594
rectW32.
left
= rectW32.right;
612
rectW32.
left
+= cxBorder;
615
rectW32.
left
= rectW32.right;
MS\Internal\AutomationProxies\WindowsTab.cs (1)
571
left
= 0
MS\Internal\AutomationProxies\WindowsTreeView.cs (2)
550
*((IntPtr *)&(rc.
left
)) = treeItem;
552
IntPtr rectangle = new IntPtr (&(rc.
left
));
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
594
updownRect.
left
= updownRect.left + width / 2;
MS\Win32\NativeMethods.cs (3)
1177
this.
left
= left;
1185
this.
left
= (int)rc.Left;
1234
this.
left
= this.right;
120 references to left
UIAutomationClientSideProviders (120)
MS\Internal\AutomationProxies\Accessible.cs (5)
1024
if (rect1.
left
!= rect2.
left
)
1279
rect.right += rect.
left
; // convert width to right
1434
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)
236
NativeMethods.Win32Point leftTop = new NativeMethods.Win32Point(rc.
left
, rc.top);
1235
left = ti.rcTitleBar.
left
;
1241
left = (!retValue || mbi.rcBar.IsEmpty) ? ti.rcTitleBar.
left
: mbi.rcBar.
left
;
1360
return x >= rc.
left
&& x < rc.right && y >= rc.top && y < rc.bottom;
1377
return x >= rc.
left
&& x < rc.right && y >= rc.top && y < rc.bottom;
2065
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)
476
return x >= rc.
left
&& x < rc.right && y >= rc.top && y < rc.bottom;
MS\Internal\AutomationProxies\ProxySimple.cs (1)
591
pt.x = (rcItem.right - 1 + rcItem.
left
) / 2;
MS\Internal\AutomationProxies\WindowsEditBox.cs (5)
364
clientLocation.x = Math.Max(clientLocation.x, clientRect.
left
);
566
return new Rect(rect.
left
, rect.top, rect.right - rect.
left
, rect.bottom - rect.top);
601
NativeMethods.Win32Point ptStart = new NativeMethods.Win32Point((int)(rect.
left
+ size.cx / 4), (int)(rect.top + size.cy / 4));
610
if (pt.X < rect.
left
)
MS\Internal\AutomationProxies\WindowsGrip.cs (3)
56
return new Rect(client.
left
- sizeGrip.cx, client.bottom, sizeGrip.cx, sizeGrip.cy);
90
if (client.
left
< 0 && client.top < 0 )
105
int x = client.
left
+ (int)(sizeGrip.cx / 2);
MS\Internal\AutomationProxies\WindowsHyperlink.cs (1)
446
int width = BoundingRect.right - BoundingRect.
left
;
MS\Internal\AutomationProxies\WindowsListBox.cs (1)
290
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)
625
if (rc1.
left
< rc2.
left
|| rc1.top < rc2.top)
629
else if (rc1.
left
!= rc2.
left
|| rc1.top != rc2.top)
727
groupRc.left = rcLv.
left
;
746
int width = rc.right - rc.
left
;
818
return new NativeMethods.Win32Rect(sbi.rcScrollBar.
left
, sbi.rcScrollBar.top, sbi.rcScrollBar.right, sbi.rcScrollBar.bottom);
MS\Internal\AutomationProxies\WindowsListViewItem.cs (3)
927
NativeMethods.Win32Point pt = new NativeMethods.Win32Point (itemRectangle.
left
, 0);
946
clickPoint.x = Math.Min ((itemRectangle.
left
+ 5), (itemRectangle.
left
+ itemRectangle.right) / 2);
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (9)
162
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))
164
int right = controlRectangle.
left
+ (rc.
left
- controlRectangle.
left
);
166
return new NativeMethods.Win32Rect (controlRectangle.
left
, rc.top, right, rc.bottom);
192
return new NativeMethods.Win32Rect (wholeItem.
left
, wholeItem.top, selectable.
left
, wholeItem.bottom);
247
NativeMethods.Win32Point pt = new NativeMethods.Win32Point((rc.
left
+ rc.right) / 2, (rc.top + rc.bottom) / 2);
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (3)
104
itemRectangle.right = itemRectangle1.
left
;
115
itemRectangle.right -= (checkboxRectangle.right - checkboxRectangle.
left
);
119
itemRectangle.left += (checkboxRectangle.right - checkboxRectangle.
left
);
MS\Internal\AutomationProxies\WindowsMenu.cs (4)
805
int leftEdge = mbi.rcBar.
left
;
806
int buttonWidth = mbi.rcBar.right - mbi.rcBar.
left
;
1249
int leftEdge = mbi.rcBar.
left
;
1250
int buttonWidth = mbi.rcBar.right - mbi.rcBar.
left
;
MS\Internal\AutomationProxies\WindowsRebar.cs (4)
128
if (x >= rebarRect.
left
&& x <= rebarRect.right &&
131
x = x - rebarRect.
left
;
414
return new Rect (rectW32.
left
, rectW32.top, rectW32.bottom - rectW32.top, rectW32.right - rectW32.
left
);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (2)
171
Rect clientRect = new Rect(w32rect.
left
, w32rect.top, w32rect.right - w32rect.
left
, w32rect.bottom - w32rect.top);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (6)
147
long area = (sbi.rcScrollBar.right - sbi.rcScrollBar.
left
) * (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top);
163
int width = sbi.rcScrollBar.right - sbi.rcScrollBar.
left
;
169
sbi.rcScrollBar.right = sbi.rcScrollBar.
left
+ width;
173
int offset = sbi.rcScrollBar.
left
- (int)rcParent.Left;
453
long area = (sbi.rcScrollBar.right - sbi.rcScrollBar.
left
) * (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top);
470
fThumbVisible = (sbi.rcScrollBar.right - sbi.rcScrollBar.
left
>= 5 * sizeArrow.cx / 2);
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (16)
239
int width = sbi.rcScrollBar.right - sbi.rcScrollBar.
left
;
245
sbi.rcScrollBar.right = sbi.rcScrollBar.
left
+ width;
249
int offset = sbi.rcScrollBar.
left
- (int)rcParent.Left;
262
long area = (sbi.rcScrollBar.right - sbi.rcScrollBar.
left
) * (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top);
296
NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect(sbi.rcScrollBar.
left
, sbi.xyThumbTop, sbi.rcScrollBar.right, sbi.xyThumbBottom);
304
rc.left = sbi.rcScrollBar.
left
;
406
bool fThumbVisible = sbi.rcScrollBar.right - sbi.rcScrollBar.
left
>= 5 * sizeArrow.cx / 2;
407
if (sbi.rcScrollBar.right - sbi.rcScrollBar.
left
< 2 * sizeArrow.cx)
410
sizeArrow.cx = (sbi.rcScrollBar.right - sbi.rcScrollBar.
left
) / 2;
439
rc.left = sbi.rcScrollBar.
left
;
440
rc.right = sbi.rcScrollBar.
left
+ sizeArrow.cx;
451
rc.left = rc.right = sbi.rcScrollBar.
left
+ sizeArrow.cx;
458
rc.left = rc.right = sbi.rcScrollBar.
left
+ sizeArrow.cx;
465
rc.right = rc.
left
;
466
rc.left = sbi.rcScrollBar.
left
+ sizeArrow.cx;
470
rc.left = rc.right = sbi.rcScrollBar.
left
+ sizeArrow.cx;
MS\Internal\AutomationProxies\WindowsSlider.cs (10)
497
return new Rect (rcChannel.
left
, rcChannel.top, rcThumb.
left
- rcChannel.
left
, rcChannel.bottom - rcChannel.top);
500
return new Rect (rcThumb.
left
, rcThumb.top, rcThumb.right - rcThumb.
left
, rcThumb.bottom - rcThumb.top);
509
int dy = rcChannel.right - rcChannel.
left
;
514
return new Rect (rcChannel.
left
, rcChannel.top, dx, rcThumb.top - rcChannel.top);
517
return new Rect (rcThumb.
left
, rcThumb.top, rcThumb.right - rcThumb.
left
, rcThumb.bottom - rcThumb.top);
520
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)
592
if (rectW32.
left
> rectW32.right)
601
if (rectW32.right < rectW32.
left
)
603
rectW32.right = rectW32.
left
;
613
if (rectW32.
left
> rectW32.right)
621
if (rectW32.right < rectW32.
left
)
623
rectW32.right = rectW32.
left
;
719
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)
580
double viewableRange = viewable.right - viewable.
left
;
597
viewableRange -= rectW32.right - rectW32.
left
;
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
1462
NativeMethods.Win32Point pt = new NativeMethods.Win32Point(((rectItem.
left
+ rectItem.right) / 2), ((rectItem.top + rectItem.bottom) / 2));
MS\Internal\AutomationProxies\WindowsUpDown.cs (5)
537
int x = (int) rc.Left - updownRect.
left
+ (int) rc.Width / 2;
579
int width = (updownRect.right - updownRect.
left
);
580
updownRect.right = updownRect.
left
+ width / 2;
593
int width = (updownRect.right - updownRect.
left
);
594
updownRect.left = updownRect.
left
+ width / 2;
MS\Win32\NativeMethods.cs (4)
1195
return
left
>= right || top >= bottom;
1219
return new Rect(rc.
left
, rc.top, rc.right - rc.
left
, rc.bottom - rc.top);
1233
int temp = this.
left
;