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)
910
size.
cx
= 0;
MS\Internal\AutomationProxies\WindowsGrip.cs (1)
114
sizeGrip.
cx
*= -1;
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (1)
420
sizeArrow.
cx
= (sbi.rcScrollBar.right - sbi.rcScrollBar.left) / 2;
MS\Win32\NativeMethods.cs (1)
1285
this.
cx
= cx;
20 references to cx
UIAutomationClientsideProviders (20)
MS\Internal\AutomationProxies\WindowsEditBox.cs (3)
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));
852
pt.X += size.
cx
;
MS\Internal\AutomationProxies\WindowsGrip.cs (5)
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);
120
int x = client.left + (int)(sizeGrip.
cx
/ 2);
128
int x = client.right - (int)(sizeGrip.
cx
/ 2);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (1)
489
fThumbVisible = (sbi.rcScrollBar.right - sbi.rcScrollBar.left >= 5 * sizeArrow.
cx
/ 2);
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (9)
416
bool fThumbVisible = sbi.rcScrollBar.right - sbi.rcScrollBar.left >= 5 * sizeArrow.
cx
/ 2;
417
if (sbi.rcScrollBar.right - sbi.rcScrollBar.left < 2 * sizeArrow.
cx
)
450
rc.right = sbi.rcScrollBar.left + sizeArrow.
cx
;
457
rc.right = sbi.rcScrollBar.right - sizeArrow.
cx
;
461
rc.left = rc.right = sbi.rcScrollBar.left + sizeArrow.
cx
;
468
rc.left = rc.right = sbi.rcScrollBar.left + sizeArrow.
cx
;
476
rc.left = sbi.rcScrollBar.left + sizeArrow.
cx
;
480
rc.left = rc.right = sbi.rcScrollBar.left + sizeArrow.
cx
;
485
rc.left = sbi.rcScrollBar.right - sizeArrow.
cx
;
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);