8 writes to cy
UIAutomationClientSideProviders (8)
MS\Internal\AutomationProxies\CommonGetThemePartSize.cs (4)
74size.cy = UnsafeNativeMethods.GetSystemMetrics (NativeMethods.SM_CXSIZE); 79size.cy = UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYHSCROLL); 84size.cy = UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYVSCROLL); 92size.cy = UnsafeNativeMethods.GetSystemMetrics (NativeMethods.SM_CXSIZE);
MS\Internal\AutomationProxies\WindowsEditBox.cs (1)
848size.cy = 0;
MS\Internal\AutomationProxies\WindowsGrip.cs (1)
101sizeGrip.cy *= -1;
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (1)
320sizeArrow.cy = (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top) / 2;
MS\Win32\NativeMethods.cs (1)
1268this.cy = cy;
20 references to cy
UIAutomationClientSideProviders (20)
MS\Internal\AutomationProxies\WindowsEditBox.cs (4)
602NativeMethods.Win32Point ptStart = new NativeMethods.Win32Point((int)(rect.left + size.cx / 4), (int)(rect.top + size.cy / 4)); 603NativeMethods.Win32Point ptEnd = new NativeMethods.Win32Point((int)(rect.right - size.cx / 8), (int)(rect.bottom - size.cy / 4)); 727if (size.cy != 0) 729linePerPage = (rect.bottom - rect.top) / size.cy;
MS\Internal\AutomationProxies\WindowsGrip.cs (4)
57return new Rect(client.left - sizeGrip.cx, client.bottom, sizeGrip.cx, sizeGrip.cy); 61return new Rect(client.right, client.bottom, sizeGrip.cx, sizeGrip.cy); 107int y = client.bottom - (int)(sizeGrip.cy / 2); 115int y = client.bottom - (int)(sizeGrip.cy / 2);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (1)
470fThumbVisible = (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top >= 5 * sizeArrow.cy / 2);
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (9)
316bool fThumbVisible = sbi.rcScrollBar.bottom - sbi.rcScrollBar.top >= 5 * sizeArrow.cy / 2; 317if (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top < 2 * sizeArrow.cy) 327rc.bottom = sbi.rcScrollBar.top + sizeArrow.cy; 334rc.bottom = sbi.rcScrollBar.bottom - sizeArrow.cy; 338rc.top = rc.bottom = sbi.rcScrollBar.top + sizeArrow.cy; 345rc.top = rc.bottom = sbi.rcScrollBar.top + sizeArrow.cy; 353rc.top = sbi.rcScrollBar.top + sizeArrow.cy; 357rc.top = rc.bottom = sbi.rcScrollBar.top + sizeArrow.cy; 362rc.top = sbi.rcScrollBar.bottom - sizeArrow.cy;
MS\Internal\AutomationProxies\WindowsStatusBar.cs (2)
810return new NativeMethods.Win32Rect(client.left, client.bottom - sizeGrip.cy, client.left + sizeGrip.cx, client.bottom); 814return new NativeMethods.Win32Rect(client.right - sizeGrip.cx, client.bottom - sizeGrip.cy, client.right, client.bottom);