IScrollProvider.Scroll(ScrollAmount, ScrollAmount) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Scrolls the visible region of the content area horizontally and vertically.
public:
void Scroll(System::Windows::Automation::ScrollAmount horizontalAmount, System::Windows::Automation::ScrollAmount verticalAmount);
public void Scroll (System.Windows.Automation.ScrollAmount horizontalAmount, System.Windows.Automation.ScrollAmount verticalAmount);
abstract member Scroll : System.Windows.Automation.ScrollAmount * System.Windows.Automation.ScrollAmount -> unit
Public Sub Scroll (horizontalAmount As ScrollAmount, verticalAmount As ScrollAmount)
Parameters
- horizontalAmount
- ScrollAmount
The horizontal increment specific to the control. NoScroll should be passed in if the control cannot be scrolled in this direction.
- verticalAmount
- ScrollAmount
The vertical increment specific to the control. NoScroll should be passed in if the control cannot be scrolled in this direction.
Exceptions
If a control supports SmallIncrement values exclusively for horizontal or vertical scrolling but a LargeIncrement value is passed in.
An attempt is made to scroll in an unsupported direction.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om