29 writes to right
UIAutomationClientsideProviders (29)
MS\Internal\AutomationProxies\Accessible.cs (2)
1329acc.accLocation(out rect.left, out rect.top, out rect.right/*width*/, out rect.bottom/*height*/, idChild ); 1344rect.right += rect.left; // convert width to right
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (2)
754groupRc.right = rcLv.right; 769groupRc.right -= width;
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (2)
113itemRectangle.right = itemRectangle1.left; 124itemRectangle.right -= (checkboxRectangle.right - checkboxRectangle.left);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (2)
187sbi.rcScrollBar.right = sbi.rcScrollBar.left + width; 192sbi.rcScrollBar.right = (int)rcParent.Right - offset;
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (10)
255sbi.rcScrollBar.right = sbi.rcScrollBar.left + width; 260sbi.rcScrollBar.right = (int)rcParent.Right - offset; 315rc.right = sbi.rcScrollBar.right; 450rc.right = sbi.rcScrollBar.left + sizeArrow.cx; 457rc.right = sbi.rcScrollBar.right - sizeArrow.cx; 461rc.left = rc.right = sbi.rcScrollBar.left + sizeArrow.cx; 468rc.left = rc.right = sbi.rcScrollBar.left + sizeArrow.cx; 475rc.right = rc.left; 480rc.left = rc.right = sbi.rcScrollBar.left + sizeArrow.cx; 486rc.right = sbi.rcScrollBar.right;
MS\Internal\AutomationProxies\WindowsSlider.cs (2)
473rcChannel.left = rcChannel.right = rcChannel.top = rcChannel.bottom = 1000; 485rcThumb.left = rcThumb.right = rcThumb.top = rcThumb.bottom = 1000;
MS\Internal\AutomationProxies\WindowsStatusBar.cs (1)
367info.rc.right = (int)rc.Right;
MS\Internal\AutomationProxies\WindowsSysHeader.cs (4)
619rectW32.right -= cxBorder; 622rectW32.right = rectW32.left; 639rectW32.right -= cxBorder; 642rectW32.right = rectW32.left;
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
601updownRect.right = updownRect.left + width / 2;
MS\Win32\NativeMethods.cs (3)
1198this.right = right; 1206this.right = (int)rc.Right; 1254this.right = temp;
86 references to right
UIAutomationClientsideProviders (86)
MS\Internal\AutomationProxies\Accessible.cs (4)
1084if (rect1.right != rect2.right) 1517|| loc.right != ownLoc.right
MS\Internal\AutomationProxies\ClickablePoint.cs (3)
207_right = rc.right; 250if ((rc.right - rc.left) <= 0 || (rc.bottom - rc.top) <= 0) 258int x = (rc.right + rc.left) / 2;
MS\Internal\AutomationProxies\Misc.cs (8)
259NativeMethods.Win32Point rightBottom = new NativeMethods.Win32Point(rc.right, rc.bottom); 1257right = (!retValue || mbi.rcBar.IsEmpty) ? ti.rcTitleBar.right : mbi.rcBar.right; 1263right = ti.rcTitleBar.right; 1381return x >= rc.left && x < rc.right && y >= rc.top && y < rc.bottom; 1398return x >= rc.left && x < rc.right && y >= rc.top && y < rc.bottom; 2055leftEdge = tiDL.rcTitleBar.right - buttonWidth; 2099rects[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)
504return x >= rc.left && x < rc.right && y >= rc.top && y < rc.bottom;
MS\Internal\AutomationProxies\ProxySimple.cs (1)
609pt.x = (rcItem.right - 1 + rcItem.left) / 2;
MS\Internal\AutomationProxies\WindowsEditBox.cs (3)
405clientLocation.x = Math.Min(clientLocation.x, clientRect.right); 632return new Rect(rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top); 668NativeMethods.Win32Point ptEnd = new NativeMethods.Win32Point((int)(rect.right - size.cx / 8), (int)(rect.bottom - size.cy / 4));
MS\Internal\AutomationProxies\WindowsGrip.cs (2)
75return new Rect(client.right, client.bottom, sizeGrip.cx, sizeGrip.cy); 128int x = client.right - (int)(sizeGrip.cx / 2);
MS\Internal\AutomationProxies\WindowsHyperlink.cs (1)
464int width = BoundingRect.right - BoundingRect.left;
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (3)
754groupRc.right = rcLv.right; 760int width = rc.right - rc.left; 832return new NativeMethods.Win32Rect(sbi.rcScrollBar.left, sbi.rcScrollBar.top, sbi.rcScrollBar.right, sbi.rcScrollBar.bottom);
MS\Internal\AutomationProxies\WindowsListViewItem.cs (1)
961clickPoint.x = Math.Min ((itemRectangle.left + 5), (itemRectangle.left + itemRectangle.right) / 2);
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (5)
170if ((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)) 196return new NativeMethods.Win32Rect (selectable.right, wholeItem.top, wholeItem.right, wholeItem.bottom); 255NativeMethods.Win32Point pt = new NativeMethods.Win32Point((rc.left + rc.right) / 2, (rc.top + rc.bottom) / 2);
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (3)
109itemRectangle.left = itemRectangle1.right; 124itemRectangle.right -= (checkboxRectangle.right - checkboxRectangle.left); 128itemRectangle.left += (checkboxRectangle.right - checkboxRectangle.left);
MS\Internal\AutomationProxies\WindowsMenu.cs (4)
823int buttonWidth = mbi.rcBar.right - mbi.rcBar.left; 839leftEdge = ti.rcTitleBar.right - buttonWidth; 1269int buttonWidth = mbi.rcBar.right - mbi.rcBar.left; 1287leftEdge = ti.rcTitleBar.right - buttonWidth;
MS\Internal\AutomationProxies\WindowsRebar.cs (2)
147if (x >= rebarRect.left && x <= rebarRect.right && 431return new Rect (rectW32.left, rectW32.top, rectW32.bottom - rectW32.top, rectW32.right - rectW32.left);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (1)
195Rect clientRect = new Rect(w32rect.left, w32rect.top, w32rect.right - w32rect.left, w32rect.bottom - w32rect.top);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (6)
165long area = (sbi.rcScrollBar.right - sbi.rcScrollBar.left) * (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top); 181int width = sbi.rcScrollBar.right - sbi.rcScrollBar.left; 185int offset = (int)rcParent.Right - sbi.rcScrollBar.right; 193sbi.rcScrollBar.left = sbi.rcScrollBar.right - width; 472long area = (sbi.rcScrollBar.right - sbi.rcScrollBar.left) * (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top); 489fThumbVisible = (sbi.rcScrollBar.right - sbi.rcScrollBar.left >= 5 * sizeArrow.cx / 2);
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (13)
249int width = sbi.rcScrollBar.right - sbi.rcScrollBar.left; 253int offset = (int)rcParent.Right - sbi.rcScrollBar.right; 261sbi.rcScrollBar.left = sbi.rcScrollBar.right - width; 272long area = (sbi.rcScrollBar.right - sbi.rcScrollBar.left) * (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top); 306NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect(sbi.rcScrollBar.left, sbi.xyThumbTop, sbi.rcScrollBar.right, sbi.xyThumbBottom); 315rc.right = sbi.rcScrollBar.right; 416bool fThumbVisible = sbi.rcScrollBar.right - sbi.rcScrollBar.left >= 5 * sizeArrow.cx / 2; 417if (sbi.rcScrollBar.right - sbi.rcScrollBar.left < 2 * sizeArrow.cx) 420sizeArrow.cx = (sbi.rcScrollBar.right - sbi.rcScrollBar.left) / 2; 456rc.left = rc.right; 457rc.right = sbi.rcScrollBar.right - sizeArrow.cx; 485rc.left = sbi.rcScrollBar.right - sizeArrow.cx; 486rc.right = sbi.rcScrollBar.right;
MS\Internal\AutomationProxies\WindowsSlider.cs (6)
517return new Rect (rcThumb.left, rcThumb.top, rcThumb.right - rcThumb.left, rcThumb.bottom - rcThumb.top); 520return new Rect (rcThumb.right, rcChannel.top, rcChannel.right - rcThumb.right, rcChannel.bottom - rcChannel.top); 526int dy = rcChannel.right - rcChannel.left; 534return new Rect (rcThumb.left, rcThumb.top, rcThumb.right - rcThumb.left, rcThumb.bottom - rcThumb.top);
MS\Internal\AutomationProxies\WindowsStatusBar.cs (4)
385if (rc.left == info->rc.left && rc.top == info->rc.top && rc.right == info->rc.right && rc.bottom == info->rc.bottom) 827return new NativeMethods.Win32Rect(client.right - sizeGrip.cx, client.bottom - sizeGrip.cy, client.right, client.bottom);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (7)
611if (rectW32.left > rectW32.right) 613rectW32.left = rectW32.right; 620if (rectW32.right < rectW32.left) 632if (rectW32.left > rectW32.right) 634rectW32.left = rectW32.right; 640if (rectW32.right < rectW32.left) 741IntPtr 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)
1478NativeMethods.Win32Point pt = new NativeMethods.Win32Point(((rectItem.left + rectItem.right) / 2), ((rectItem.top + rectItem.bottom) / 2));
MS\Internal\AutomationProxies\WindowsUpDown.cs (2)
600int width = (updownRect.right - updownRect.left); 614int width = (updownRect.right - updownRect.left);
MS\Win32\NativeMethods.cs (3)
1214return left >= right || top >= bottom; 1238return new Rect(rc.left, rc.top, rc.right - rc.left, rc.bottom - rc.top); 1253this.left = this.right;