Delen via


IScrollProvider.Scroll(ScrollAmount, ScrollAmount) Method

Definition

Scrolls the visible region of the content area horizontally, vertically, or both.

public:
 void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount);
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.

Applies to