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)
335
new AutomationPropertyInfo( null,
ScrollPattern
.HorizontalScrollPercentProperty, typeof(double), (double)0 ),
336
new AutomationPropertyInfo( null,
ScrollPattern
.HorizontalViewSizeProperty, typeof(double), (double)100 ),
337
new AutomationPropertyInfo( null,
ScrollPattern
.VerticalScrollPercentProperty, typeof(double), (double)0 ),
338
new AutomationPropertyInfo( null,
ScrollPattern
.VerticalViewSizeProperty, typeof(double), (double)100 ),
339
new AutomationPropertyInfo( convertToBool,
ScrollPattern
.HorizontallyScrollableProperty, typeof(bool), false ),
340
new AutomationPropertyInfo( convertToBool,
ScrollPattern
.VerticallyScrollableProperty, typeof(bool), false ),
416
private static readonly AutomationProperty [ ] ScrollProperties = {
ScrollPattern
.HorizontalScrollPercentProperty,
417
ScrollPattern
.HorizontalViewSizeProperty,
418
ScrollPattern
.HorizontallyScrollableProperty,
419
ScrollPattern
.VerticallyScrollableProperty,
420
ScrollPattern
.VerticalScrollPercentProperty,
421
ScrollPattern
.VerticalViewSizeProperty };
472
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)
311
if (iid ==
ScrollPattern
.Pattern && WindowScroll.HasScrollableStyle(_hwnd))
370
return (double) WindowScroll.GetPropertyScroll (
ScrollPattern
.HorizontalScrollPercentProperty, _hwnd);
379
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalScrollPercentProperty, _hwnd);
388
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.HorizontalViewSizeProperty, _hwnd);
397
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalViewSizeProperty, _hwnd);
406
return (bool) WindowScroll.GetPropertyScroll (
ScrollPattern
.HorizontallyScrollableProperty, _hwnd);
415
return (bool) WindowScroll.GetPropertyScroll (
ScrollPattern
.VerticallyScrollableProperty, _hwnd);
661
if ((idProp ==
ScrollPattern
.VerticalScrollPercentProperty && idObject != NativeMethods.OBJID_VSCROLL) ||
662
(idProp ==
ScrollPattern
.HorizontalScrollPercentProperty && idObject != NativeMethods.OBJID_HSCROLL))
MS\Internal\AutomationProxies\ProxyHwnd.cs (4)
375
else if ((idProp ==
ScrollPattern
.HorizontalScrollPercentProperty ||
376
idProp ==
ScrollPattern
.VerticalScrollPercentProperty) ||
377
idProp ==
ScrollPattern
.HorizontalViewSizeProperty ||
378
idProp ==
ScrollPattern
.VerticalViewSizeProperty )
MS\Internal\AutomationProxies\WindowsListBox.cs (1)
151
else if (iid ==
ScrollPattern
.Pattern && WindowScroll.HasScrollableStyle(_hwnd))
MS\Internal\AutomationProxies\WindowsListView.cs (11)
647
if (fScrollSuccess && (((int)horizontalPercent != (int)
ScrollPattern
.NoScroll && (int)horizontalPercent != (int)WindowScroll.GetPropertyScroll(
ScrollPattern
.HorizontalScrollPercentProperty, _hwnd))
648
|| ((int)verticalPercent != (int)
ScrollPattern
.NoScroll && (int)verticalPercent != (int)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalScrollPercentProperty, _hwnd))))
676
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.HorizontalScrollPercentProperty, _hwnd);
686
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalScrollPercentProperty, _hwnd);
696
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.HorizontalViewSizeProperty, _hwnd);
706
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalViewSizeProperty, _hwnd);
716
return (bool) WindowScroll.GetPropertyScroll (
ScrollPattern
.HorizontallyScrollableProperty, _hwnd);
725
return (bool) WindowScroll.GetPropertyScroll (
ScrollPattern
.VerticallyScrollableProperty, _hwnd);
1654
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)
243
return (double)
ScrollPattern
.NoScroll;
272
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))
134
if (iid ==
ScrollPattern
.Pattern)
483
if ((int)verticalPercent != (int)
ScrollPattern
.NoScroll)
487
else if ((int)horizontalPercent == (int)
ScrollPattern
.NoScroll)
530
return (double)
ScrollPattern
.NoScroll;
554
return (double)
ScrollPattern
.NoScroll;
721
&& idProp ==
ScrollPattern
.HorizontalScrollPercentProperty)