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