SilverlightContainer.GetScrolledPercentage Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This member overrides UITechnologyElement.GetScrolledPercentage(ScrollDirection, IUITechnologyElement).
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 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.IUITechnologyElement
Return Value
Type: System.Int32
Returns Int32.
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
Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight Namespace