SilverlightElement.ScrollProgrammatically Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This member overrides UITechnologyElement.ScrollProgrammatically(ScrollDirection, ScrollAmount).
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (in Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.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.ScrollDirection
- scrollAmount
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.ScrollAmount
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
Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight Namespace