ScrollProviderWrapperScroll - метод

Scrolls the visible region of the content area horizontally and vertically.

Definition

Пространство имён: Tessa.UI.Automation.Helpers
Сборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
public void Scroll(
	ScrollAmount horizontalAmount,
	ScrollAmount verticalAmount
)

Параметры

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.

Реализации

IScrollProviderScroll(ScrollAmount, ScrollAmount)

Исключения

ArgumentExceptionIf a control supports SmallIncrement values exclusively for horizontal or vertical scrolling but a LargeIncrement value is passed in.
InvalidOperationExceptionAn attempt is made to scroll in an unsupported direction.

См. также