29 writes to right
UIAutomationClientSideProviders (29)
MS\Internal\AutomationProxies\Accessible.cs (2)
1290acc.accLocation(out rect.left, out rect.top, out rect.right/*width*/, out rect.bottom/*height*/, idChild ); 1305rect.right += rect.left; // convert width to right
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (2)
738groupRc.right = rcLv.right; 753groupRc.right -= width;
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (2)
105itemRectangle.right = itemRectangle1.left; 116itemRectangle.right -= (checkboxRectangle.right - checkboxRectangle.left);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (2)
173sbi.rcScrollBar.right = sbi.rcScrollBar.left + width; 178sbi.rcScrollBar.right = (int)rcParent.Right - offset;
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (10)
246sbi.rcScrollBar.right = sbi.rcScrollBar.left + width; 251sbi.rcScrollBar.right = (int)rcParent.Right - offset; 306rc.right = sbi.rcScrollBar.right; 441rc.right = sbi.rcScrollBar.left + sizeArrow.cx; 448rc.right = sbi.rcScrollBar.right - sizeArrow.cx; 452rc.left = rc.right = sbi.rcScrollBar.left + sizeArrow.cx; 459rc.left = rc.right = sbi.rcScrollBar.left + sizeArrow.cx; 466rc.right = rc.left; 471rc.left = rc.right = sbi.rcScrollBar.left + sizeArrow.cx; 477rc.right = sbi.rcScrollBar.right;
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)
353info.rc.right = (int)rc.Right;
MS\Internal\AutomationProxies\WindowsSysHeader.cs (4)
606rectW32.right -= cxBorder; 609rectW32.right = rectW32.left; 626rectW32.right -= cxBorder; 629rectW32.right = rectW32.left;
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
584updownRect.right = updownRect.left + width / 2;
MS\Win32\NativeMethods.cs (3)
1180this.right = right; 1188this.right = (int)rc.Right; 1236this.right = temp;
86 references to right
UIAutomationClientSideProviders (86)
MS\Internal\AutomationProxies\Accessible.cs (4)
1058if (rect1.right != rect2.right) 1462|| loc.right != ownLoc.right
MS\Internal\AutomationProxies\ClickablePoint.cs (3)
206_right = rc.right; 249if ((rc.right - rc.left) <= 0 || (rc.bottom - rc.top) <= 0) 257int x = (rc.right + rc.left) / 2;
MS\Internal\AutomationProxies\Misc.cs (8)
248NativeMethods.Win32Point rightBottom = new NativeMethods.Win32Point(rc.right, rc.bottom); 1244right = (!retValue || mbi.rcBar.IsEmpty) ? ti.rcTitleBar.right : mbi.rcBar.right; 1250right = ti.rcTitleBar.right; 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; 2042leftEdge = tiDL.rcTitleBar.right - buttonWidth; 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 (3)
366clientLocation.x = Math.Min(clientLocation.x, clientRect.right); 567return new Rect(rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top); 603NativeMethods.Win32Point ptEnd = new NativeMethods.Win32Point((int)(rect.right - size.cx / 8), (int)(rect.bottom - size.cy / 4));
MS\Internal\AutomationProxies\WindowsGrip.cs (2)
61return new Rect(client.right, client.bottom, sizeGrip.cx, sizeGrip.cy); 114int x = client.right - (int)(sizeGrip.cx / 2);
MS\Internal\AutomationProxies\WindowsHyperlink.cs (1)
450int width = BoundingRect.right - BoundingRect.left;
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (3)
738groupRc.right = rcLv.right; 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 (1)
950clickPoint.x = Math.Min ((itemRectangle.left + 5), (itemRectangle.left + itemRectangle.right) / 2);
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (5)
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)) 189return new NativeMethods.Win32Rect (selectable.right, wholeItem.top, wholeItem.right, wholeItem.bottom); 248NativeMethods.Win32Point pt = new NativeMethods.Win32Point((rc.left + rc.right) / 2, (rc.top + rc.bottom) / 2);
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (3)
101itemRectangle.left = itemRectangle1.right; 116itemRectangle.right -= (checkboxRectangle.right - checkboxRectangle.left); 120itemRectangle.left += (checkboxRectangle.right - checkboxRectangle.left);
MS\Internal\AutomationProxies\WindowsMenu.cs (4)
810int buttonWidth = mbi.rcBar.right - mbi.rcBar.left; 826leftEdge = ti.rcTitleBar.right - buttonWidth; 1254int buttonWidth = mbi.rcBar.right - mbi.rcBar.left; 1272leftEdge = ti.rcTitleBar.right - buttonWidth;
MS\Internal\AutomationProxies\WindowsRebar.cs (2)
129if (x >= rebarRect.left && x <= rebarRect.right && 413return new Rect (rectW32.left, rectW32.top, rectW32.bottom - rectW32.top, rectW32.right - rectW32.left);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (1)
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; 171int offset = (int)rcParent.Right - sbi.rcScrollBar.right; 179sbi.rcScrollBar.left = sbi.rcScrollBar.right - width; 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 (13)
240int width = sbi.rcScrollBar.right - sbi.rcScrollBar.left; 244int offset = (int)rcParent.Right - sbi.rcScrollBar.right; 252sbi.rcScrollBar.left = sbi.rcScrollBar.right - width; 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); 306rc.right = sbi.rcScrollBar.right; 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; 447rc.left = rc.right; 448rc.right = sbi.rcScrollBar.right - sizeArrow.cx; 476rc.left = sbi.rcScrollBar.right - sizeArrow.cx; 477rc.right = sbi.rcScrollBar.right;
MS\Internal\AutomationProxies\WindowsSlider.cs (6)
501return new Rect (rcThumb.left, rcThumb.top, rcThumb.right - rcThumb.left, rcThumb.bottom - rcThumb.top); 504return new Rect (rcThumb.right, rcChannel.top, rcChannel.right - rcThumb.right, rcChannel.bottom - rcChannel.top); 510int dy = rcChannel.right - rcChannel.left; 518return new Rect (rcThumb.left, rcThumb.top, rcThumb.right - rcThumb.left, rcThumb.bottom - rcThumb.top);
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) 813return new NativeMethods.Win32Rect(client.right - sizeGrip.cx, client.bottom - sizeGrip.cy, client.right, client.bottom);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (7)
598if (rectW32.left > rectW32.right) 600rectW32.left = rectW32.right; 607if (rectW32.right < rectW32.left) 619if (rectW32.left > rectW32.right) 621rectW32.left = rectW32.right; 627if (rectW32.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 (2)
583int width = (updownRect.right - updownRect.left); 597int width = (updownRect.right - updownRect.left);
MS\Win32\NativeMethods.cs (3)
1196return left >= right || top >= bottom; 1220return new Rect(rc.left, rc.top, rc.right - rc.left, rc.bottom - rc.top); 1235this.left = this.right;