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