1 instantiation of ScrollPattern
UIAutomationClient (1)
System\Windows\Automation\ScrollPattern.cs (1)
196
return new
ScrollPattern
(el, hPattern, cached);
72 references to ScrollPattern
UIAutomationClient (14)
MS\Internal\Automation\Schema.cs (14)
341
new AutomationPropertyInfo( null,
ScrollPattern
.HorizontalScrollPercentProperty, typeof(double), (double)0 ),
342
new AutomationPropertyInfo( null,
ScrollPattern
.HorizontalViewSizeProperty, typeof(double), (double)100 ),
343
new AutomationPropertyInfo( null,
ScrollPattern
.VerticalScrollPercentProperty, typeof(double), (double)0 ),
344
new AutomationPropertyInfo( null,
ScrollPattern
.VerticalViewSizeProperty, typeof(double), (double)100 ),
345
new AutomationPropertyInfo( convertToBool,
ScrollPattern
.HorizontallyScrollableProperty, typeof(bool), false ),
346
new AutomationPropertyInfo( convertToBool,
ScrollPattern
.VerticallyScrollableProperty, typeof(bool), false ),
422
private static readonly AutomationProperty [ ] ScrollProperties = {
ScrollPattern
.HorizontalScrollPercentProperty,
423
ScrollPattern
.HorizontalViewSizeProperty,
424
ScrollPattern
.HorizontallyScrollableProperty,
425
ScrollPattern
.VerticallyScrollableProperty,
426
ScrollPattern
.VerticalScrollPercentProperty,
427
ScrollPattern
.VerticalViewSizeProperty };
478
new AutomationPatternInfo(
ScrollPattern
.Pattern, ScrollProperties, new WrapObjectClientSide(
ScrollPattern
.Wrap) ),
UIAutomationClientSideProviders (58)
MS\Internal\AutomationProxies\EventManager.cs (14)
285
IScrollProvider scroll = el.GetPatternProvider(
ScrollPattern
.Pattern) as IScrollProvider;
289
RaisePropertyChangedEvent(el,
ScrollPattern
.VerticalViewSizeProperty, scroll.VerticalViewSize);
294
IScrollProvider scroll = el.GetPatternProvider(
ScrollPattern
.Pattern) as IScrollProvider;
298
RaisePropertyChangedEvent(el,
ScrollPattern
.HorizontalViewSizeProperty, scroll.HorizontalViewSize);
417
IScrollProvider scroll = el.GetPatternProvider (
ScrollPattern
.Pattern) as IScrollProvider;
418
if (scroll == null || scroll.VerticalScrollPercent ==
ScrollPattern
.NoScroll)
421
RaisePropertyChangedEvent(el,
ScrollPattern
.VerticalScrollPercentProperty, scroll.VerticalScrollPercent);
426
IScrollProvider scroll = el.GetPatternProvider (
ScrollPattern
.Pattern) as IScrollProvider;
427
if (scroll == null || scroll.HorizontalScrollPercent ==
ScrollPattern
.NoScroll)
430
RaisePropertyChangedEvent(el,
ScrollPattern
.HorizontalScrollPercentProperty, scroll.HorizontalScrollPercent);
530
_objectIdClient.Add(
ScrollPattern
.VerticalViewSizeProperty, new RaiseEvent(HandleVerticalViewSizeProperty));
531
_objectIdClient.Add(
ScrollPattern
.HorizontalViewSizeProperty, new RaiseEvent(HandleHorizontalViewSizeProperty));
545
_objectIdScroll.Add(
ScrollPattern
.VerticalScrollPercentProperty, new RaiseEvent(HandleVerticalScrollPercentProperty));
546
_objectIdScroll.Add(
ScrollPattern
.HorizontalScrollPercentProperty, new RaiseEvent(HandleHorizontalScrollPercentProperty));
MS\Internal\AutomationProxies\NonClientArea.cs (9)
317
if (iid ==
ScrollPattern
.Pattern && WindowScroll.HasScrollableStyle(_hwnd))
376
return (double) WindowScroll.GetPropertyScroll (
ScrollPattern
.HorizontalScrollPercentProperty, _hwnd);
385
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalScrollPercentProperty, _hwnd);
394
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.HorizontalViewSizeProperty, _hwnd);
403
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalViewSizeProperty, _hwnd);
412
return (bool) WindowScroll.GetPropertyScroll (
ScrollPattern
.HorizontallyScrollableProperty, _hwnd);
421
return (bool) WindowScroll.GetPropertyScroll (
ScrollPattern
.VerticallyScrollableProperty, _hwnd);
673
if ((idProp ==
ScrollPattern
.VerticalScrollPercentProperty && idObject != NativeMethods.OBJID_VSCROLL) ||
674
(idProp ==
ScrollPattern
.HorizontalScrollPercentProperty && idObject != NativeMethods.OBJID_HSCROLL))
MS\Internal\AutomationProxies\ProxyHwnd.cs (4)
381
else if ((idProp ==
ScrollPattern
.HorizontalScrollPercentProperty ||
382
idProp ==
ScrollPattern
.VerticalScrollPercentProperty) ||
383
idProp ==
ScrollPattern
.HorizontalViewSizeProperty ||
384
idProp ==
ScrollPattern
.VerticalViewSizeProperty )
MS\Internal\AutomationProxies\WindowsListBox.cs (1)
154
else if (iid ==
ScrollPattern
.Pattern && WindowScroll.HasScrollableStyle(_hwnd))
MS\Internal\AutomationProxies\WindowsListView.cs (11)
650
if (fScrollSuccess && (((int)horizontalPercent != (int)
ScrollPattern
.NoScroll && (int)horizontalPercent != (int)WindowScroll.GetPropertyScroll(
ScrollPattern
.HorizontalScrollPercentProperty, _hwnd))
651
|| ((int)verticalPercent != (int)
ScrollPattern
.NoScroll && (int)verticalPercent != (int)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalScrollPercentProperty, _hwnd))))
679
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.HorizontalScrollPercentProperty, _hwnd);
689
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalScrollPercentProperty, _hwnd);
699
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.HorizontalViewSizeProperty, _hwnd);
709
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalViewSizeProperty, _hwnd);
719
return (bool) WindowScroll.GetPropertyScroll (
ScrollPattern
.HorizontallyScrollableProperty, _hwnd);
728
return (bool) WindowScroll.GetPropertyScroll (
ScrollPattern
.VerticallyScrollableProperty, _hwnd);
1656
if ((int)fScrollPos == (int)
ScrollPattern
.NoScroll)
MS\Internal\AutomationProxies\WindowsScroll.cs (10)
81
if (idProp ==
ScrollPattern
.HorizontalScrollPercentProperty)
83
return Scrollable (hwnd, NativeMethods.SB_HORZ) ? GetScrollInfo (hwnd, NativeMethods.SB_HORZ) :
ScrollPattern
.NoScroll;
85
else if (idProp ==
ScrollPattern
.VerticalScrollPercentProperty)
87
return Scrollable (hwnd, NativeMethods.SB_VERT) ? GetScrollInfo (hwnd, NativeMethods.SB_VERT) :
ScrollPattern
.NoScroll;
89
else if (idProp ==
ScrollPattern
.HorizontalViewSizeProperty)
93
else if (idProp ==
ScrollPattern
.VerticalViewSizeProperty)
97
else if (idProp ==
ScrollPattern
.HorizontallyScrollableProperty)
101
else if (idProp ==
ScrollPattern
.VerticallyScrollableProperty)
242
return (double)
ScrollPattern
.NoScroll;
271
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)