29 writes to right
UIAutomationClientSideProviders (29)
MS\Internal\AutomationProxies\Accessible.cs (2)
1264acc.accLocation(out rect.left, out rect.top, out rect.right/*width*/, out rect.bottom/*height*/, idChild ); 1279rect.right += rect.left; // convert width to right
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (2)
740groupRc.right = rcLv.right; 755groupRc.right -= width;
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (2)
104itemRectangle.right = itemRectangle1.left; 115itemRectangle.right -= (checkboxRectangle.right - checkboxRectangle.left);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (2)
169sbi.rcScrollBar.right = sbi.rcScrollBar.left + width; 174sbi.rcScrollBar.right = (int)rcParent.Right - offset;
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (10)
245sbi.rcScrollBar.right = sbi.rcScrollBar.left + width; 250sbi.rcScrollBar.right = (int)rcParent.Right - offset; 305rc.right = sbi.rcScrollBar.right; 440rc.right = sbi.rcScrollBar.left + sizeArrow.cx; 447rc.right = sbi.rcScrollBar.right - sizeArrow.cx; 451rc.left = rc.right = sbi.rcScrollBar.left + sizeArrow.cx; 458rc.left = rc.right = sbi.rcScrollBar.left + sizeArrow.cx; 465rc.right = rc.left; 470rc.left = rc.right = sbi.rcScrollBar.left + sizeArrow.cx; 476rc.right = sbi.rcScrollBar.right;
MS\Internal\AutomationProxies\WindowsSlider.cs (2)
456rcChannel.left = rcChannel.right = rcChannel.top = rcChannel.bottom = 1000; 468rcThumb.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)
600rectW32.right -= cxBorder; 603rectW32.right = rectW32.left; 620rectW32.right -= cxBorder; 623rectW32.right = rectW32.left;
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
580updownRect.right = updownRect.left + width / 2;
MS\Win32\NativeMethods.cs (3)
1179this.right = right; 1187this.right = (int)rc.Right; 1235this.right = temp;
86 references to right
UIAutomationClientSideProviders (86)
MS\Internal\AutomationProxies\Accessible.cs (4)
1032if (rect1.right != rect2.right) 1436|| loc.right != ownLoc.right
MS\Internal\AutomationProxies\ClickablePoint.cs (3)
203_right = rc.right; 246if ((rc.right - rc.left) <= 0 || (rc.bottom - rc.top) <= 0) 254int x = (rc.right + rc.left) / 2;
MS\Internal\AutomationProxies\Misc.cs (8)
242NativeMethods.Win32Point rightBottom = new NativeMethods.Win32Point(rc.right, rc.bottom); 1236right = (!retValue || mbi.rcBar.IsEmpty) ? ti.rcTitleBar.right : mbi.rcBar.right; 1242right = ti.rcTitleBar.right; 1360return x >= rc.left && x < rc.right && y >= rc.top && y < rc.bottom; 1377return x >= rc.left && x < rc.right && y >= rc.top && y < rc.bottom; 2021leftEdge = tiDL.rcTitleBar.right - buttonWidth; 2065rects[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)
476return x >= rc.left && x < rc.right && y >= rc.top && y < rc.bottom;
MS\Internal\AutomationProxies\ProxySimple.cs (1)
591pt.x = (rcItem.right - 1 + rcItem.left) / 2;
MS\Internal\AutomationProxies\WindowsEditBox.cs (3)
365clientLocation.x = Math.Min(clientLocation.x, clientRect.right); 566return new Rect(rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top); 602NativeMethods.Win32Point ptEnd = new NativeMethods.Win32Point((int)(rect.right - size.cx / 8), (int)(rect.bottom - size.cy / 4));
MS\Internal\AutomationProxies\WindowsGrip.cs (2)
60return new Rect(client.right, client.bottom, sizeGrip.cx, sizeGrip.cy); 113int x = client.right - (int)(sizeGrip.cx / 2);
MS\Internal\AutomationProxies\WindowsHyperlink.cs (1)
446int width = BoundingRect.right - BoundingRect.left;
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (3)
740groupRc.right = rcLv.right; 746int width = rc.right - rc.left; 818return new NativeMethods.Win32Rect(sbi.rcScrollBar.left, sbi.rcScrollBar.top, sbi.rcScrollBar.right, sbi.rcScrollBar.bottom);
MS\Internal\AutomationProxies\WindowsListViewItem.cs (1)
946clickPoint.x = Math.Min ((itemRectangle.left + 5), (itemRectangle.left + itemRectangle.right) / 2);
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (5)
162if ((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)) 188return new NativeMethods.Win32Rect (selectable.right, wholeItem.top, wholeItem.right, wholeItem.bottom); 247NativeMethods.Win32Point pt = new NativeMethods.Win32Point((rc.left + rc.right) / 2, (rc.top + rc.bottom) / 2);
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (3)
100itemRectangle.left = itemRectangle1.right; 115itemRectangle.right -= (checkboxRectangle.right - checkboxRectangle.left); 119itemRectangle.left += (checkboxRectangle.right - checkboxRectangle.left);
MS\Internal\AutomationProxies\WindowsMenu.cs (4)
806int buttonWidth = mbi.rcBar.right - mbi.rcBar.left; 822leftEdge = ti.rcTitleBar.right - buttonWidth; 1250int buttonWidth = mbi.rcBar.right - mbi.rcBar.left; 1266leftEdge = ti.rcTitleBar.right - buttonWidth;
MS\Internal\AutomationProxies\WindowsRebar.cs (2)
128if (x >= rebarRect.left && x <= rebarRect.right && 414return new Rect (rectW32.left, rectW32.top, rectW32.bottom - rectW32.top, rectW32.right - rectW32.left);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (1)
171Rect clientRect = new Rect(w32rect.left, w32rect.top, w32rect.right - w32rect.left, w32rect.bottom - w32rect.top);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (6)
147long area = (sbi.rcScrollBar.right - sbi.rcScrollBar.left) * (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top); 163int width = sbi.rcScrollBar.right - sbi.rcScrollBar.left; 167int offset = (int)rcParent.Right - sbi.rcScrollBar.right; 175sbi.rcScrollBar.left = sbi.rcScrollBar.right - width; 453long area = (sbi.rcScrollBar.right - sbi.rcScrollBar.left) * (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top); 470fThumbVisible = (sbi.rcScrollBar.right - sbi.rcScrollBar.left >= 5 * sizeArrow.cx / 2);
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (13)
239int width = sbi.rcScrollBar.right - sbi.rcScrollBar.left; 243int offset = (int)rcParent.Right - sbi.rcScrollBar.right; 251sbi.rcScrollBar.left = sbi.rcScrollBar.right - width; 262long area = (sbi.rcScrollBar.right - sbi.rcScrollBar.left) * (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top); 296NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect(sbi.rcScrollBar.left, sbi.xyThumbTop, sbi.rcScrollBar.right, sbi.xyThumbBottom); 305rc.right = sbi.rcScrollBar.right; 406bool fThumbVisible = sbi.rcScrollBar.right - sbi.rcScrollBar.left >= 5 * sizeArrow.cx / 2; 407if (sbi.rcScrollBar.right - sbi.rcScrollBar.left < 2 * sizeArrow.cx) 410sizeArrow.cx = (sbi.rcScrollBar.right - sbi.rcScrollBar.left) / 2; 446rc.left = rc.right; 447rc.right = sbi.rcScrollBar.right - sizeArrow.cx; 475rc.left = sbi.rcScrollBar.right - sizeArrow.cx; 476rc.right = sbi.rcScrollBar.right;
MS\Internal\AutomationProxies\WindowsSlider.cs (6)
500return new Rect (rcThumb.left, rcThumb.top, rcThumb.right - rcThumb.left, rcThumb.bottom - rcThumb.top); 503return new Rect (rcThumb.right, rcChannel.top, rcChannel.right - rcThumb.right, rcChannel.bottom - rcChannel.top); 509int dy = rcChannel.right - rcChannel.left; 517return 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)
592if (rectW32.left > rectW32.right) 594rectW32.left = rectW32.right; 601if (rectW32.right < rectW32.left) 613if (rectW32.left > rectW32.right) 615rectW32.left = rectW32.right; 621if (rectW32.right < rectW32.left) 719IntPtr center = NativeMethods.Util.MAKELPARAM (rectW32.left + ((rectW32.right - rectW32.left) / 2), rectW32.top + ((rectW32.bottom - rectW32.top) / 2));
MS\Internal\AutomationProxies\WindowsTab.cs (2)
580double viewableRange = viewable.right - viewable.left; 597viewableRange -= rectW32.right - rectW32.left;
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
1462NativeMethods.Win32Point pt = new NativeMethods.Win32Point(((rectItem.left + rectItem.right) / 2), ((rectItem.top + rectItem.bottom) / 2));
MS\Internal\AutomationProxies\WindowsUpDown.cs (2)
579int width = (updownRect.right - updownRect.left); 593int width = (updownRect.right - updownRect.left);
MS\Win32\NativeMethods.cs (3)
1195return left >= right || top >= bottom; 1219return new Rect(rc.left, rc.top, rc.right - rc.left, rc.bottom - rc.top); 1234this.left = this.right;