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)
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)
376
else if ((idProp ==
ScrollPattern
.HorizontalScrollPercentProperty ||
377
idProp ==
ScrollPattern
.VerticalScrollPercentProperty) ||
378
idProp ==
ScrollPattern
.HorizontalViewSizeProperty ||
379
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);
1657
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))
137
if (iid ==
ScrollPattern
.Pattern)
490
if ((int)verticalPercent != (int)
ScrollPattern
.NoScroll)
494
else if ((int)horizontalPercent == (int)
ScrollPattern
.NoScroll)
537
return (double)
ScrollPattern
.NoScroll;
561
return (double)
ScrollPattern
.NoScroll;
728
&& idProp ==
ScrollPattern
.HorizontalScrollPercentProperty)