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