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.
Gets the amount scrolled in percentage.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overrides Function GetScrolledPercentage ( _
scrollDirection As ScrollDirection, _
scrollElement As IUITechnologyElement _
) As Integer
public override int GetScrolledPercentage(
ScrollDirection scrollDirection,
IUITechnologyElement scrollElement
)
public:
virtual int GetScrolledPercentage(
ScrollDirection scrollDirection,
IUITechnologyElement^ scrollElement
) override
abstract GetScrolledPercentage :
scrollDirection:ScrollDirection *
scrollElement:IUITechnologyElement -> int
override GetScrolledPercentage :
scrollDirection:ScrollDirection *
scrollElement:IUITechnologyElement -> int
public override function GetScrolledPercentage(
scrollDirection : ScrollDirection,
scrollElement : IUITechnologyElement
) : int
Parameters
- scrollDirection
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.ScrollDirection
scrollElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElementThe element which is either the vertical or horizontal scroll bar.
Return Value
Type: Int32
The amount in percentage.
Implements
IUITechnologyElement.GetScrolledPercentage(ScrollDirection, IUITechnologyElement)
.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