1 write to _sbFlag
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\WindowsScrollBar.cs (1)
33_sbFlag = sbFlag;
27 references to _sbFlag
UIAutomationClientSideProviders (27)
MS\Internal\AutomationProxies\WindowsListViewScroll.cs (4)
57if (!Misc.GetScrollInfo(_hwnd, _sbFlag, ref si)) 76bool isVerticalScroll = IsScrollBarVertical(_hwnd, _sbFlag); 79Misc.SetScrollPos(_hwnd, _sbFlag, pos, true); 108if (!Misc.GetScrollInfo(_hwnd, _sbFlag, ref si))
MS\Internal\AutomationProxies\WindowsScrollBar.cs (23)
122return (iid == RangeValuePattern.Pattern && WindowScroll.Scrollable (_hwnd, _sbFlag) && HasValuePattern (_hwnd, _sbFlag)) ? this : null; 133if (_sbFlag == NativeMethods.SB_CTL) 141int idObject = _sbFlag == NativeMethods.SB_VERT ? NativeMethods.OBJID_VSCROLL : _sbFlag == NativeMethods.SB_HORZ ? NativeMethods.OBJID_HSCROLL : NativeMethods.OBJID_CLIENT; 169if (_sbFlag == NativeMethods.SB_VERT) 222return IsScrollBarVertical(_hwnd, _sbFlag) ? OrientationType.Vertical : OrientationType.Horizontal; 266return IsScrollBarVertical(_hwnd, _sbFlag) 286if (item == ScrollBarItem.UpArrow && !IsScrollBarWithThumb (_hwnd, _sbFlag)) 306if (item == ScrollBarItem.DownArrow && !IsScrollBarWithThumb (_hwnd, _sbFlag)) 333NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect(WindowsScrollBarBits.GetBoundingRectangle(_hwnd, this, item, _sbFlag)); 337return new WindowsScrollBarBits (_hwnd, this, (int) item, _sbFlag); 367return !Misc.IsEnabled(_hwnd) || !HasValuePattern(_hwnd, _sbFlag); 525if (_sbFlag != NativeMethods.SB_CTL || Misc.GetScrollBarInfo(_hwnd, NativeMethods.OBJID_CLIENT, ref sbi)) 527return new WindowsScrollBarBits (_hwnd, this, (int) index, _sbFlag); 576if (!Misc.GetScrollInfo(_hwnd, _sbFlag, ref si)) 587if ((Environment.OSVersion.Version.Major < 6) && (_sbFlag == NativeMethods.SB_HORZ) && (Misc.IsControlRTL(_parent._hwnd))) 627if (!Misc.GetScrollInfo(_hwnd, _sbFlag, ref si)) 686if (_sbFlag == NativeMethods.SB_CTL) 688Misc.SetScrollPos(_hwnd, _sbFlag, val, true); 694IsScrollBarVertical(_hwnd, _sbFlag) ? NativeMethods.WM_VSCROLL : NativeMethods.WM_HSCROLL; 729if (_sbFlag == NativeMethods.SB_VERT) 733else if (_sbFlag == NativeMethods.SB_HORZ)