ScrollViewerAutomationPeer.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, vertically, or both.
public:
virtual void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount) = Scroll;
void Scroll(ScrollAmount const& horizontalAmount, ScrollAmount const& verticalAmount);
public void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount);
function scroll(horizontalAmount, verticalAmount)
Public Sub Scroll (horizontalAmount As ScrollAmount, verticalAmount As ScrollAmount)
Parameters
- horizontalAmount
- ScrollAmount
The horizontal increment that is specific to the control. Pass NoScroll if the control cannot be scrolled in this direction.
- verticalAmount
- ScrollAmount
The vertical increment that is specific to the control. Pass NoScroll if the control cannot be scrolled in this direction.