1 instantiation of ScrollPattern
UIAutomationClient (1)
System\Windows\Automation\ScrollPattern.cs (1)
195
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)
284
IScrollProvider scroll = el.GetPatternProvider(
ScrollPattern
.Pattern) as IScrollProvider;
288
RaisePropertyChangedEvent(el,
ScrollPattern
.VerticalViewSizeProperty, scroll.VerticalViewSize);
293
IScrollProvider scroll = el.GetPatternProvider(
ScrollPattern
.Pattern) as IScrollProvider;
297
RaisePropertyChangedEvent(el,
ScrollPattern
.HorizontalViewSizeProperty, scroll.HorizontalViewSize);
416
IScrollProvider scroll = el.GetPatternProvider (
ScrollPattern
.Pattern) as IScrollProvider;
417
if (scroll == null || scroll.VerticalScrollPercent ==
ScrollPattern
.NoScroll)
420
RaisePropertyChangedEvent(el,
ScrollPattern
.VerticalScrollPercentProperty, scroll.VerticalScrollPercent);
425
IScrollProvider scroll = el.GetPatternProvider (
ScrollPattern
.Pattern) as IScrollProvider;
426
if (scroll == null || scroll.HorizontalScrollPercent ==
ScrollPattern
.NoScroll)
429
RaisePropertyChangedEvent(el,
ScrollPattern
.HorizontalScrollPercentProperty, scroll.HorizontalScrollPercent);
529
_objectIdClient.Add(
ScrollPattern
.VerticalViewSizeProperty, new RaiseEvent(HandleVerticalViewSizeProperty));
530
_objectIdClient.Add(
ScrollPattern
.HorizontalViewSizeProperty, new RaiseEvent(HandleHorizontalViewSizeProperty));
544
_objectIdScroll.Add(
ScrollPattern
.VerticalScrollPercentProperty, new RaiseEvent(HandleVerticalScrollPercentProperty));
545
_objectIdScroll.Add(
ScrollPattern
.HorizontalScrollPercentProperty, new RaiseEvent(HandleHorizontalScrollPercentProperty));
MS\Internal\AutomationProxies\NonClientArea.cs (9)
310
if (iid ==
ScrollPattern
.Pattern && WindowScroll.HasScrollableStyle(_hwnd))
369
return (double) WindowScroll.GetPropertyScroll (
ScrollPattern
.HorizontalScrollPercentProperty, _hwnd);
378
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalScrollPercentProperty, _hwnd);
387
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.HorizontalViewSizeProperty, _hwnd);
396
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalViewSizeProperty, _hwnd);
405
return (bool) WindowScroll.GetPropertyScroll (
ScrollPattern
.HorizontallyScrollableProperty, _hwnd);
414
return (bool) WindowScroll.GetPropertyScroll (
ScrollPattern
.VerticallyScrollableProperty, _hwnd);
660
if ((idProp ==
ScrollPattern
.VerticalScrollPercentProperty && idObject != NativeMethods.OBJID_VSCROLL) ||
661
(idProp ==
ScrollPattern
.HorizontalScrollPercentProperty && idObject != NativeMethods.OBJID_HSCROLL))
MS\Internal\AutomationProxies\ProxyHwnd.cs (4)
374
else if ((idProp ==
ScrollPattern
.HorizontalScrollPercentProperty ||
375
idProp ==
ScrollPattern
.VerticalScrollPercentProperty) ||
376
idProp ==
ScrollPattern
.HorizontalViewSizeProperty ||
377
idProp ==
ScrollPattern
.VerticalViewSizeProperty )
MS\Internal\AutomationProxies\WindowsListBox.cs (1)
150
else if (iid ==
ScrollPattern
.Pattern && WindowScroll.HasScrollableStyle(_hwnd))
MS\Internal\AutomationProxies\WindowsListView.cs (11)
646
if (fScrollSuccess && (((int)horizontalPercent != (int)
ScrollPattern
.NoScroll && (int)horizontalPercent != (int)WindowScroll.GetPropertyScroll(
ScrollPattern
.HorizontalScrollPercentProperty, _hwnd))
647
|| ((int)verticalPercent != (int)
ScrollPattern
.NoScroll && (int)verticalPercent != (int)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalScrollPercentProperty, _hwnd))))
675
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.HorizontalScrollPercentProperty, _hwnd);
685
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalScrollPercentProperty, _hwnd);
695
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.HorizontalViewSizeProperty, _hwnd);
705
return (double)WindowScroll.GetPropertyScroll(
ScrollPattern
.VerticalViewSizeProperty, _hwnd);
715
return (bool) WindowScroll.GetPropertyScroll (
ScrollPattern
.HorizontallyScrollableProperty, _hwnd);
724
return (bool) WindowScroll.GetPropertyScroll (
ScrollPattern
.VerticallyScrollableProperty, _hwnd);
1653
if ((int)fScrollPos == (int)
ScrollPattern
.NoScroll)
MS\Internal\AutomationProxies\WindowsScroll.cs (10)
80
if (idProp ==
ScrollPattern
.HorizontalScrollPercentProperty)
82
return Scrollable (hwnd, NativeMethods.SB_HORZ) ? GetScrollInfo (hwnd, NativeMethods.SB_HORZ) :
ScrollPattern
.NoScroll;
84
else if (idProp ==
ScrollPattern
.VerticalScrollPercentProperty)
86
return Scrollable (hwnd, NativeMethods.SB_VERT) ? GetScrollInfo (hwnd, NativeMethods.SB_VERT) :
ScrollPattern
.NoScroll;
88
else if (idProp ==
ScrollPattern
.HorizontalViewSizeProperty)
92
else if (idProp ==
ScrollPattern
.VerticalViewSizeProperty)
96
else if (idProp ==
ScrollPattern
.HorizontallyScrollableProperty)
100
else if (idProp ==
ScrollPattern
.VerticallyScrollableProperty)
242
return (double)
ScrollPattern
.NoScroll;
271
if ((int)fScrollPos == (int)
ScrollPattern
.NoScroll)
MS\Internal\AutomationProxies\WindowsTab.cs (9)
54
_upDownEvents[0]._idProp =
ScrollPattern
.HorizontalScrollPercentProperty;
101
if ((idProp ==
ScrollPattern
.VerticalScrollPercentProperty && idObject != NativeMethods.OBJID_VSCROLL) ||
102
(idProp ==
ScrollPattern
.HorizontalScrollPercentProperty && idObject != NativeMethods.OBJID_HSCROLL))
133
if (iid ==
ScrollPattern
.Pattern)
482
if ((int)verticalPercent != (int)
ScrollPattern
.NoScroll)
486
else if ((int)horizontalPercent == (int)
ScrollPattern
.NoScroll)
529
return (double)
ScrollPattern
.NoScroll;
553
return (double)
ScrollPattern
.NoScroll;
720
&& idProp ==
ScrollPattern
.HorizontalScrollPercentProperty)