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)
911
size.
cy
= 0;
MS\Internal\AutomationProxies\WindowsGrip.cs (1)
115
sizeGrip.
cy
*= -1;
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (1)
329
sizeArrow.
cy
= (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top) / 2;
MS\Win32\NativeMethods.cs (1)
1286
this.
cy
= cy;
20 references to cy
UIAutomationClientsideProviders (20)
MS\Internal\AutomationProxies\WindowsEditBox.cs (4)
667
NativeMethods.Win32Point ptStart = new NativeMethods.Win32Point((int)(rect.left + size.cx / 4), (int)(rect.top + size.
cy
/ 4));
668
NativeMethods.Win32Point ptEnd = new NativeMethods.Win32Point((int)(rect.right - size.cx / 8), (int)(rect.bottom - size.
cy
/ 4));
790
if (size.
cy
!= 0)
792
linePerPage = (rect.bottom - rect.top) / size.
cy
;
MS\Internal\AutomationProxies\WindowsGrip.cs (4)
71
return new Rect(client.left - sizeGrip.cx, client.bottom, sizeGrip.cx, sizeGrip.
cy
);
75
return new Rect(client.right, client.bottom, sizeGrip.cx, sizeGrip.
cy
);
121
int y = client.bottom - (int)(sizeGrip.
cy
/ 2);
129
int y = client.bottom - (int)(sizeGrip.
cy
/ 2);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (1)
485
fThumbVisible = (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top >= 5 * sizeArrow.
cy
/ 2);
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (9)
325
bool fThumbVisible = sbi.rcScrollBar.bottom - sbi.rcScrollBar.top >= 5 * sizeArrow.
cy
/ 2;
326
if (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top < 2 * sizeArrow.
cy
)
336
rc.bottom = sbi.rcScrollBar.top + sizeArrow.
cy
;
343
rc.bottom = sbi.rcScrollBar.bottom - sizeArrow.
cy
;
347
rc.top = rc.bottom = sbi.rcScrollBar.top + sizeArrow.
cy
;
354
rc.top = rc.bottom = sbi.rcScrollBar.top + sizeArrow.
cy
;
362
rc.top = sbi.rcScrollBar.top + sizeArrow.
cy
;
366
rc.top = rc.bottom = sbi.rcScrollBar.top + sizeArrow.
cy
;
371
rc.top = sbi.rcScrollBar.bottom - sizeArrow.
cy
;
MS\Internal\AutomationProxies\WindowsStatusBar.cs (2)
823
return new NativeMethods.Win32Rect(client.left, client.bottom - sizeGrip.
cy
, client.left + sizeGrip.cx, client.bottom);
827
return new NativeMethods.Win32Rect(client.right - sizeGrip.cx, client.bottom - sizeGrip.
cy
, client.right, client.bottom);