26 references to WindowScroll
UIAutomationClientSideProviders (26)
MS\Internal\AutomationProxies\NonClientArea.cs (9)
321if (iid == ScrollPattern.Pattern && WindowScroll.HasScrollableStyle(_hwnd)) 366WindowScroll.SetScrollPercent (_hwnd, horizontalPercent, verticalPercent, true); 372WindowScroll.Scroll (_hwnd, horizontalAmount, verticalAmount, true); 380return (double) WindowScroll.GetPropertyScroll (ScrollPattern.HorizontalScrollPercentProperty, _hwnd); 389return (double)WindowScroll.GetPropertyScroll(ScrollPattern.VerticalScrollPercentProperty, _hwnd); 398return (double)WindowScroll.GetPropertyScroll(ScrollPattern.HorizontalViewSizeProperty, _hwnd); 407return (double)WindowScroll.GetPropertyScroll(ScrollPattern.VerticalViewSizeProperty, _hwnd); 416return (bool) WindowScroll.GetPropertyScroll (ScrollPattern.HorizontallyScrollableProperty, _hwnd); 425return (bool) WindowScroll.GetPropertyScroll (ScrollPattern.VerticallyScrollableProperty, _hwnd);
MS\Internal\AutomationProxies\WindowsListBox.cs (3)
158else if (iid == ScrollPattern.Pattern && WindowScroll.HasScrollableStyle(_hwnd)) 695else if (iid == ScrollItemPattern.Pattern && WindowScroll.IsScrollable(_hwnd)) 940if (!WindowScroll.IsScrollable(_hwnd))
MS\Internal\AutomationProxies\WindowsListView.cs (9)
615WindowScroll.Scroll (_hwnd, horizontalAmount, verticalAmount, true); 653if (fScrollSuccess && (((int)horizontalPercent != (int)ScrollPattern.NoScroll && (int)horizontalPercent != (int)WindowScroll.GetPropertyScroll(ScrollPattern.HorizontalScrollPercentProperty, _hwnd)) 654|| ((int)verticalPercent != (int)ScrollPattern.NoScroll && (int)verticalPercent != (int)WindowScroll.GetPropertyScroll(ScrollPattern.VerticalScrollPercentProperty, _hwnd)))) 682return (double)WindowScroll.GetPropertyScroll(ScrollPattern.HorizontalScrollPercentProperty, _hwnd); 692return (double)WindowScroll.GetPropertyScroll(ScrollPattern.VerticalScrollPercentProperty, _hwnd); 702return (double)WindowScroll.GetPropertyScroll(ScrollPattern.HorizontalViewSizeProperty, _hwnd); 712return (double)WindowScroll.GetPropertyScroll(ScrollPattern.VerticalViewSizeProperty, _hwnd); 722return (bool) WindowScroll.GetPropertyScroll (ScrollPattern.HorizontallyScrollableProperty, _hwnd); 731return (bool) WindowScroll.GetPropertyScroll (ScrollPattern.VerticallyScrollableProperty, _hwnd);
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (1)
745if (WindowScroll.Scrollable(_hwnd, NativeMethods.SB_VERT))
MS\Internal\AutomationProxies\WindowsListViewItem.cs (1)
90if (iid == ScrollItemPattern.Pattern && WindowScroll.IsScrollable(_hwnd))
MS\Internal\AutomationProxies\WindowsScrollBar.cs (1)
125return (iid == RangeValuePattern.Pattern && WindowScroll.Scrollable (_hwnd, _sbFlag) && HasValuePattern (_hwnd, _sbFlag)) ? this : null;
MS\Internal\AutomationProxies\WindowsTreeView.cs (2)
796else if (iid == ScrollItemPattern.Pattern && WindowScroll.IsScrollable(_hwnd)) 1226if (!WindowScroll.IsScrollable(_hwnd))