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