MS\Internal\AutomationProxies\Misc.cs (9)
242NativeMethods.Win32Point leftTop = new NativeMethods.Win32Point(rc.left, rc.top);
1252return new Rect(left, ti.rcTitleBar.top, right - left, ti.rcTitleBar.bottom - ti.rcTitleBar.top);
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;
2031rects[i] = new Rect(leftEdge, tiDL.rcTitleBar.top, buttonWidth, buttonHeight);
2047rects[i] = new Rect(leftEdge, tiDL.rcTitleBar.top, buttonWidth, buttonHeight);
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\WindowsListViewItemCheckBox.cs (4)
167return new NativeMethods.Win32Rect (controlRectangle.left, rc.top, right, rc.bottom);
189return new NativeMethods.Win32Rect (selectable.right, wholeItem.top, wholeItem.right, wholeItem.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\WindowsSlider.cs (12)
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);
504return new Rect (rcThumb.right, rcChannel.top, rcChannel.right - rcThumb.right, rcChannel.bottom - rcChannel.top);
509int dx = rcChannel.bottom - rcChannel.top;
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);