MS\Internal\AutomationProxies\Misc.cs (9)
253NativeMethods.Win32Point leftTop = new NativeMethods.Win32Point(rc.left, rc.top);
1265return new Rect(left, ti.rcTitleBar.top, right - left, ti.rcTitleBar.bottom - ti.rcTitleBar.top);
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;
2044rects[i] = new Rect(leftEdge, tiDL.rcTitleBar.top, buttonWidth, buttonHeight);
2060rects[i] = new Rect(leftEdge, tiDL.rcTitleBar.top, buttonWidth, buttonHeight);
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\WindowsListViewItemCheckBox.cs (4)
174return new NativeMethods.Win32Rect (controlRectangle.left, rc.top, right, rc.bottom);
196return new NativeMethods.Win32Rect (selectable.right, wholeItem.top, wholeItem.right, wholeItem.bottom);
200return new NativeMethods.Win32Rect (wholeItem.left, wholeItem.top, selectable.left, wholeItem.bottom);
255NativeMethods.Win32Point pt = new NativeMethods.Win32Point((rc.left + rc.right) / 2, (rc.top + rc.bottom) / 2);
MS\Internal\AutomationProxies\WindowsSlider.cs (12)
514return new Rect (rcChannel.left, rcChannel.top, rcThumb.left - rcChannel.left, rcChannel.bottom - rcChannel.top);
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);
525int dx = rcChannel.bottom - rcChannel.top;
531return new Rect (rcChannel.left, rcChannel.top, dx, rcThumb.top - rcChannel.top);
534return new Rect (rcThumb.left, rcThumb.top, rcThumb.right - rcThumb.left, rcThumb.bottom - rcThumb.top);