59 references to ScrollBarItem
UIAutomationClientsideProviders (59)
MS\Internal\AutomationProxies\WindowsScrollBar.cs (19)
296
ScrollBarItem
item = (
ScrollBarItem
) child._item;
298
if (item !=
ScrollBarItem
.DownArrow)
301
if (item ==
ScrollBarItem
.UpArrow && !IsScrollBarWithThumb (_hwnd, _sbFlag))
303
item =
ScrollBarItem
.DownArrow - 1;
305
return CreateScrollBitsItem ((
ScrollBarItem
) ((int) item + 1));
316
ScrollBarItem
item = (
ScrollBarItem
) child._item;
318
if (item !=
ScrollBarItem
.UpArrow)
321
if (item ==
ScrollBarItem
.DownArrow && !IsScrollBarWithThumb (_hwnd, _sbFlag))
323
item =
ScrollBarItem
.UpArrow + 1;
325
return CreateScrollBitsItem ((
ScrollBarItem
) ((int) item - 1));
334
return CreateScrollBitsItem (
ScrollBarItem
.UpArrow);
340
return CreateScrollBitsItem (
ScrollBarItem
.DownArrow);
346
for (
ScrollBarItem
item =
ScrollBarItem
.UpArrow; (int) item <= (int)
ScrollBarItem
.DownArrow; item = (
ScrollBarItem
) ((int) item + 1))
533
private ProxySimple CreateScrollBitsItem (
ScrollBarItem
index)
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (40)
57
switch ((WindowsScrollBar.
ScrollBarItem
)_item)
59
case WindowsScrollBar.
ScrollBarItem
.UpArrow:
64
case WindowsScrollBar.
ScrollBarItem
.LargeDecrement:
69
case WindowsScrollBar.
ScrollBarItem
.LargeIncrement:
74
case WindowsScrollBar.
ScrollBarItem
.DownArrow:
79
case WindowsScrollBar.
ScrollBarItem
.Thumb:
108
if (iid == InvokePattern.Pattern && (WindowsScrollBar.
ScrollBarItem
) _item != WindowsScrollBar.
ScrollBarItem
.Thumb)
136
return GetBoundingRectangle (_hwnd, _parent, (WindowsScrollBar.
ScrollBarItem
) _item, _sbFlag);
162
if ((WindowsScrollBar.
ScrollBarItem
) _item == WindowsScrollBar.
ScrollBarItem
.Thumb)
169
switch ((WindowsScrollBar.
ScrollBarItem
) _item)
171
case WindowsScrollBar.
ScrollBarItem
.UpArrow :
175
case WindowsScrollBar.
ScrollBarItem
.LargeDecrement :
179
case WindowsScrollBar.
ScrollBarItem
.LargeIncrement :
183
case WindowsScrollBar.
ScrollBarItem
.DownArrow :
212
static internal Rect GetBoundingRectangle(IntPtr hwnd, ProxyFragment parent, WindowsScrollBar.
ScrollBarItem
item, int sbFlag)
220
if (fDisableScrollBar && (item == WindowsScrollBar.
ScrollBarItem
.LargeDecrement || item == WindowsScrollBar.
ScrollBarItem
.Thumb || item == WindowsScrollBar.
ScrollBarItem
.LargeDecrement))
304
static internal Rect GetVerticalScrollbarBitBoundingRectangle(IntPtr hwnd, WindowsScrollBar.
ScrollBarItem
item, NativeMethods.ScrollBarInfo sbi)
334
case WindowsScrollBar.
ScrollBarItem
.UpArrow :
339
case WindowsScrollBar.
ScrollBarItem
.LargeIncrement :
351
case WindowsScrollBar.
ScrollBarItem
.Thumb :
358
case WindowsScrollBar.
ScrollBarItem
.LargeDecrement :
370
case WindowsScrollBar.
ScrollBarItem
.DownArrow :
395
static internal Rect GetHorizontalScrollbarBitBoundingRectangle(IntPtr hwnd, WindowsScrollBar.
ScrollBarItem
item, NativeMethods.ScrollBarInfo sbi)
428
if (item == WindowsScrollBar.
ScrollBarItem
.UpArrow)
430
item = WindowsScrollBar.
ScrollBarItem
.DownArrow;
432
else if (item == WindowsScrollBar.
ScrollBarItem
.DownArrow)
434
item = WindowsScrollBar.
ScrollBarItem
.UpArrow;
436
else if (item == WindowsScrollBar.
ScrollBarItem
.LargeIncrement)
438
item = WindowsScrollBar.
ScrollBarItem
.LargeDecrement;
440
else if (item == WindowsScrollBar.
ScrollBarItem
.LargeDecrement)
442
item = WindowsScrollBar.
ScrollBarItem
.LargeIncrement;
448
case WindowsScrollBar.
ScrollBarItem
.UpArrow :
453
case WindowsScrollBar.
ScrollBarItem
.LargeIncrement :
465
case WindowsScrollBar.
ScrollBarItem
.Thumb :
472
case WindowsScrollBar.
ScrollBarItem
.LargeDecrement :
484
case WindowsScrollBar.
ScrollBarItem
.DownArrow :