1 instantiation of ScrollPattern
UIAutomationClient (1)
System\Windows\Automation\ScrollPattern.cs (1)
226
return new
ScrollPattern
(el, hPattern, cached);
72 references to ScrollPattern
UIAutomationClient (14)
MS\Internal\Automation\Schema.cs (14)
320
new AutomationPropertyInfo( null,
ScrollPattern
.HorizontalScrollPercentProperty, typeof(double), (double)0 ),
321
new AutomationPropertyInfo( null,
ScrollPattern
.HorizontalViewSizeProperty, typeof(double), (double)100 ),
322
new AutomationPropertyInfo( null,
ScrollPattern
.VerticalScrollPercentProperty, typeof(double), (double)0 ),
323
new AutomationPropertyInfo( null,
ScrollPattern
.VerticalViewSizeProperty, typeof(double), (double)100 ),
324
new AutomationPropertyInfo( convertToBool,
ScrollPattern
.HorizontallyScrollableProperty, typeof(bool), false ),
325
new AutomationPropertyInfo( convertToBool,
ScrollPattern
.VerticallyScrollableProperty, typeof(bool), false ),
401
private static readonly AutomationProperty [ ] ScrollProperties = {
ScrollPattern
.HorizontalScrollPercentProperty,
402
ScrollPattern
.HorizontalViewSizeProperty,
403
ScrollPattern
.HorizontallyScrollableProperty,
404
ScrollPattern
.VerticallyScrollableProperty,
405
ScrollPattern
.VerticalScrollPercentProperty,
406
ScrollPattern
.VerticalViewSizeProperty };
457
new AutomationPatternInfo(
ScrollPattern
.Pattern, ScrollProperties, new WrapObjectClientSide(
ScrollPattern
.Wrap) ),
UIAutomationClientsideProviders (58)
MS\Internal\AutomationProxies\EventManager.cs (14)
298
IScrollProvider scroll = el.GetPatternProvider(
ScrollPattern
.Pattern) as IScrollProvider;
302
RaisePropertyChangedEvent(el,
ScrollPattern
.VerticalViewSizeProperty, scroll.VerticalViewSize);
307
IScrollProvider scroll = el.GetPatternProvider(
ScrollPattern
.Pattern) as IScrollProvider;
311
RaisePropertyChangedEvent(el,
ScrollPattern
.HorizontalViewSizeProperty, scroll.HorizontalViewSize);
430
IScrollProvider scroll = el.GetPatternProvider (
ScrollPattern
.Pattern) as IScrollProvider;
431
if (scroll == null || scroll.VerticalScrollPercent ==
ScrollPattern
.NoScroll)
434
RaisePropertyChangedEvent(el,
ScrollPattern
.VerticalScrollPercentProperty, scroll.VerticalScrollPercent);
439
IScrollProvider scroll = el.GetPatternProvider (
ScrollPattern
.Pattern) as IScrollProvider;
440
if (scroll == null || scroll.HorizontalScrollPercent ==
ScrollPattern
.NoScroll)
443
RaisePropertyChangedEvent(el,
ScrollPattern
.HorizontalScrollPercentProperty, scroll.HorizontalScrollPercent);
543
_objectIdClient.Add(
ScrollPattern
.VerticalViewSizeProperty, new RaiseEvent(HandleVerticalViewSizeProperty));
544
_objectIdClient.Add(
ScrollPattern
.HorizontalViewSizeProperty, new RaiseEvent(HandleHorizontalViewSizeProperty));
558
_objectIdScroll.Add(
ScrollPattern
.VerticalScrollPercentProperty, new RaiseEvent(HandleVerticalScrollPercentProperty));
559
_objectIdScroll.Add(
ScrollPattern
.HorizontalScrollPercentProperty, new RaiseEvent(HandleHorizontalScrollPercentProperty));
MS\Internal\AutomationProxies\NonClientArea.cs (9)
318
if (iid ==
ScrollPattern
.Pattern && WindowScroll.HasScrollableStyle(_hwnd))
377
return (double) WindowScroll.GetPropertyScroll (
ScrollPattern
.HorizontalScrollPercentProperty, _hwnd);
386
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalScrollPercentProperty, _hwnd);
395
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.HorizontalViewSizeProperty, _hwnd);
404
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalViewSizeProperty, _hwnd);
413
return (bool) WindowScroll.GetPropertyScroll (
ScrollPattern
.HorizontallyScrollableProperty, _hwnd);
422
return (bool) WindowScroll.GetPropertyScroll (
ScrollPattern
.VerticallyScrollableProperty, _hwnd);
674
if ((idProp ==
ScrollPattern
.VerticalScrollPercentProperty && idObject != NativeMethods.OBJID_VSCROLL) ||
675
(idProp ==
ScrollPattern
.HorizontalScrollPercentProperty && idObject != NativeMethods.OBJID_HSCROLL))
MS\Internal\AutomationProxies\ProxyHwnd.cs (4)
397
else if ((idProp ==
ScrollPattern
.HorizontalScrollPercentProperty ||
398
idProp ==
ScrollPattern
.VerticalScrollPercentProperty) ||
399
idProp ==
ScrollPattern
.HorizontalViewSizeProperty ||
400
idProp ==
ScrollPattern
.VerticalViewSizeProperty )
MS\Internal\AutomationProxies\WindowsListBox.cs (1)
166
else if (iid ==
ScrollPattern
.Pattern && WindowScroll.HasScrollableStyle(_hwnd))
MS\Internal\AutomationProxies\WindowsListView.cs (11)
660
if (fScrollSuccess && (((int)horizontalPercent != (int)
ScrollPattern
.NoScroll && (int)horizontalPercent != (int)WindowScroll.GetPropertyScroll(
ScrollPattern
.HorizontalScrollPercentProperty, _hwnd))
661
|| ((int)verticalPercent != (int)
ScrollPattern
.NoScroll && (int)verticalPercent != (int)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalScrollPercentProperty, _hwnd))))
689
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.HorizontalScrollPercentProperty, _hwnd);
699
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalScrollPercentProperty, _hwnd);
709
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.HorizontalViewSizeProperty, _hwnd);
719
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalViewSizeProperty, _hwnd);
729
return (bool) WindowScroll.GetPropertyScroll (
ScrollPattern
.HorizontallyScrollableProperty, _hwnd);
738
return (bool) WindowScroll.GetPropertyScroll (
ScrollPattern
.VerticallyScrollableProperty, _hwnd);
1665
if ((int)fScrollPos == (int)
ScrollPattern
.NoScroll)
MS\Internal\AutomationProxies\WindowsScroll.cs (10)
91
if (idProp ==
ScrollPattern
.HorizontalScrollPercentProperty)
93
return Scrollable (hwnd, NativeMethods.SB_HORZ) ? GetScrollInfo (hwnd, NativeMethods.SB_HORZ) :
ScrollPattern
.NoScroll;
95
else if (idProp ==
ScrollPattern
.VerticalScrollPercentProperty)
97
return Scrollable (hwnd, NativeMethods.SB_VERT) ? GetScrollInfo (hwnd, NativeMethods.SB_VERT) :
ScrollPattern
.NoScroll;
99
else if (idProp ==
ScrollPattern
.HorizontalViewSizeProperty)
103
else if (idProp ==
ScrollPattern
.VerticalViewSizeProperty)
107
else if (idProp ==
ScrollPattern
.HorizontallyScrollableProperty)
111
else if (idProp ==
ScrollPattern
.VerticallyScrollableProperty)
252
return (double)
ScrollPattern
.NoScroll;
281
if ((int)fScrollPos == (int)
ScrollPattern
.NoScroll)
MS\Internal\AutomationProxies\WindowsTab.cs (9)
55
_upDownEvents[0]._idProp =
ScrollPattern
.HorizontalScrollPercentProperty;
102
if ((idProp ==
ScrollPattern
.VerticalScrollPercentProperty && idObject != NativeMethods.OBJID_VSCROLL) ||
103
(idProp ==
ScrollPattern
.HorizontalScrollPercentProperty && idObject != NativeMethods.OBJID_HSCROLL))
137
if (iid ==
ScrollPattern
.Pattern)
489
if ((int)verticalPercent != (int)
ScrollPattern
.NoScroll)
493
else if ((int)horizontalPercent == (int)
ScrollPattern
.NoScroll)
536
return (double)
ScrollPattern
.NoScroll;
560
return (double)
ScrollPattern
.NoScroll;
726
&& idProp ==
ScrollPattern
.HorizontalScrollPercentProperty)