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