59 references to ScrollBarItem
UIAutomationClientSideProviders (59)
MS\Internal\AutomationProxies\WindowsScrollBar.cs (19)
281ScrollBarItem item = (ScrollBarItem) child._item; 283if (item != ScrollBarItem.DownArrow) 286if (item == ScrollBarItem.UpArrow && !IsScrollBarWithThumb (_hwnd, _sbFlag)) 288item = ScrollBarItem.DownArrow - 1; 290return CreateScrollBitsItem ((ScrollBarItem) ((int) item + 1)); 301ScrollBarItem item = (ScrollBarItem) child._item; 303if (item != ScrollBarItem.UpArrow) 306if (item == ScrollBarItem.DownArrow && !IsScrollBarWithThumb (_hwnd, _sbFlag)) 308item = ScrollBarItem.UpArrow + 1; 310return CreateScrollBitsItem ((ScrollBarItem) ((int) item - 1)); 319return CreateScrollBitsItem (ScrollBarItem.UpArrow); 325return CreateScrollBitsItem (ScrollBarItem.DownArrow); 331for (ScrollBarItem item = ScrollBarItem.UpArrow; (int) item <= (int) ScrollBarItem.DownArrow; item = (ScrollBarItem) ((int) item + 1)) 518private ProxySimple CreateScrollBitsItem (ScrollBarItem index)
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (40)
48switch ((WindowsScrollBar.ScrollBarItem)_item) 50case WindowsScrollBar.ScrollBarItem.UpArrow: 55case WindowsScrollBar.ScrollBarItem.LargeDecrement: 60case WindowsScrollBar.ScrollBarItem.LargeIncrement: 65case WindowsScrollBar.ScrollBarItem.DownArrow: 70case WindowsScrollBar.ScrollBarItem.Thumb: 99if (iid == InvokePattern.Pattern && (WindowsScrollBar.ScrollBarItem) _item != WindowsScrollBar.ScrollBarItem.Thumb) 127return GetBoundingRectangle (_hwnd, _parent, (WindowsScrollBar.ScrollBarItem) _item, _sbFlag); 153if ((WindowsScrollBar.ScrollBarItem) _item == WindowsScrollBar.ScrollBarItem.Thumb) 160switch ((WindowsScrollBar.ScrollBarItem) _item) 162case WindowsScrollBar.ScrollBarItem.UpArrow : 166case WindowsScrollBar.ScrollBarItem.LargeDecrement : 170case WindowsScrollBar.ScrollBarItem.LargeIncrement : 174case WindowsScrollBar.ScrollBarItem.DownArrow : 203static internal Rect GetBoundingRectangle(IntPtr hwnd, ProxyFragment parent, WindowsScrollBar.ScrollBarItem item, int sbFlag) 211if (fDisableScrollBar && (item == WindowsScrollBar.ScrollBarItem.LargeDecrement || item == WindowsScrollBar.ScrollBarItem.Thumb || item == WindowsScrollBar.ScrollBarItem.LargeDecrement)) 295static internal Rect GetVerticalScrollbarBitBoundingRectangle(IntPtr hwnd, WindowsScrollBar.ScrollBarItem item, NativeMethods.ScrollBarInfo sbi) 325case WindowsScrollBar.ScrollBarItem.UpArrow : 330case WindowsScrollBar.ScrollBarItem.LargeIncrement : 342case WindowsScrollBar.ScrollBarItem.Thumb : 349case WindowsScrollBar.ScrollBarItem.LargeDecrement : 361case WindowsScrollBar.ScrollBarItem.DownArrow : 386static internal Rect GetHorizontalScrollbarBitBoundingRectangle(IntPtr hwnd, WindowsScrollBar.ScrollBarItem item, NativeMethods.ScrollBarInfo sbi) 419if (item == WindowsScrollBar.ScrollBarItem.UpArrow) 421item = WindowsScrollBar.ScrollBarItem.DownArrow; 423else if (item == WindowsScrollBar.ScrollBarItem.DownArrow) 425item = WindowsScrollBar.ScrollBarItem.UpArrow; 427else if (item == WindowsScrollBar.ScrollBarItem.LargeIncrement) 429item = WindowsScrollBar.ScrollBarItem.LargeDecrement; 431else if (item == WindowsScrollBar.ScrollBarItem.LargeDecrement) 433item = WindowsScrollBar.ScrollBarItem.LargeIncrement; 439case WindowsScrollBar.ScrollBarItem.UpArrow : 444case WindowsScrollBar.ScrollBarItem.LargeIncrement : 456case WindowsScrollBar.ScrollBarItem.Thumb : 463case WindowsScrollBar.ScrollBarItem.LargeDecrement : 475case WindowsScrollBar.ScrollBarItem.DownArrow :