MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (4)
166return new NativeMethods.Win32Rect (controlRectangle.left, rc.top, right, rc.bottom);
188return new NativeMethods.Win32Rect (selectable.right, wholeItem.top, wholeItem.right, wholeItem.bottom);
192return new NativeMethods.Win32Rect (wholeItem.left, wholeItem.top, selectable.left, wholeItem.bottom);
247NativeMethods.Win32Point pt = new NativeMethods.Win32Point((rc.left + rc.right) / 2, (rc.top + rc.bottom) / 2);
MS\Internal\AutomationProxies\WindowsSlider.cs (6)
497return new Rect (rcChannel.left, rcChannel.top, rcThumb.left - rcChannel.left, rcChannel.bottom - rcChannel.top);
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);
508int dx = rcChannel.bottom - rcChannel.top;
517return new Rect (rcThumb.left, rcThumb.top, rcThumb.right - rcThumb.left, rcThumb.bottom - rcThumb.top);
520return new Rect (rcChannel.left, rcThumb.bottom, dx, dy);