Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Does the programmatic scrolling for this element.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overrides Sub ScrollProgrammatically ( _
scrollDirection As ScrollDirection, _
scrollAmount As ScrollAmount _
)
public override void ScrollProgrammatically(
ScrollDirection scrollDirection,
ScrollAmount scrollAmount
)
public:
virtual void ScrollProgrammatically(
ScrollDirection scrollDirection,
ScrollAmount scrollAmount
) override
abstract ScrollProgrammatically :
scrollDirection:ScrollDirection *
scrollAmount:ScrollAmount -> unit
override ScrollProgrammatically :
scrollDirection:ScrollDirection *
scrollAmount:ScrollAmount -> unit
public override function ScrollProgrammatically(
scrollDirection : ScrollDirection,
scrollAmount : ScrollAmount
)
Parameters
scrollDirection
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.ScrollDirectionThe direction to scroll.
scrollAmount
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.ScrollAmountThe amount to scroll.
Implements
IUITechnologyElement.ScrollProgrammatically(ScrollDirection, ScrollAmount)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
UITechnologyElementProxy Class