8 writes to cx
UIAutomationClientSideProviders (8)
MS\Internal\AutomationProxies\CommonGetThemePartSize.cs (4)
73
size.
cx
= UnsafeNativeMethods.GetSystemMetrics (NativeMethods.SM_CXSIZE);
78
size.
cx
= UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXVSCROLL);
83
size.
cx
= UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXHSCROLL);
91
size.
cx
= UnsafeNativeMethods.GetSystemMetrics (NativeMethods.SM_CXSIZE);
MS\Internal\AutomationProxies\WindowsEditBox.cs (1)
845
size.
cx
= 0;
MS\Internal\AutomationProxies\WindowsGrip.cs (1)
100
sizeGrip.
cx
*= -1;
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (1)
411
sizeArrow.
cx
= (sbi.rcScrollBar.right - sbi.rcScrollBar.left) / 2;
MS\Win32\NativeMethods.cs (1)
1267
this.
cx
= cx;
20 references to cx
UIAutomationClientSideProviders (20)
MS\Internal\AutomationProxies\WindowsEditBox.cs (3)
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));
787
pt.X += size.
cx
;
MS\Internal\AutomationProxies\WindowsGrip.cs (5)
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);
106
int x = client.left + (int)(sizeGrip.
cx
/ 2);
114
int x = client.right - (int)(sizeGrip.
cx
/ 2);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (1)
474
fThumbVisible = (sbi.rcScrollBar.right - sbi.rcScrollBar.left >= 5 * sizeArrow.
cx
/ 2);
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (9)
407
bool fThumbVisible = sbi.rcScrollBar.right - sbi.rcScrollBar.left >= 5 * sizeArrow.
cx
/ 2;
408
if (sbi.rcScrollBar.right - sbi.rcScrollBar.left < 2 * sizeArrow.
cx
)
441
rc.right = sbi.rcScrollBar.left + sizeArrow.
cx
;
448
rc.right = sbi.rcScrollBar.right - sizeArrow.
cx
;
452
rc.left = rc.right = sbi.rcScrollBar.left + sizeArrow.
cx
;
459
rc.left = rc.right = sbi.rcScrollBar.left + sizeArrow.
cx
;
467
rc.left = sbi.rcScrollBar.left + sizeArrow.
cx
;
471
rc.left = rc.right = sbi.rcScrollBar.left + sizeArrow.
cx
;
476
rc.left = sbi.rcScrollBar.right - sizeArrow.
cx
;
MS\Internal\AutomationProxies\WindowsStatusBar.cs (2)
809
return new NativeMethods.Win32Rect(client.left, client.bottom - sizeGrip.cy, client.left + sizeGrip.
cx
, client.bottom);
813
return new NativeMethods.Win32Rect(client.right - sizeGrip.
cx
, client.bottom - sizeGrip.cy, client.right, client.bottom);