Class ScrollViewer
Defines a
Implements
IElementWrapper<WindowsElement>
Inherited Members
Namespace: Legerity.Windows.Elements.Core
Assembly: Legerity.Windows.dll
Syntax
public class ScrollViewer : WindowsElementWrapper, IElementWrapper<WindowsElement>
Constructors
| Improve this Doc View SourceScrollViewer(WindowsElement)
Initializes a new instance of the ScrollViewer class.
Declaration
public ScrollViewer(WindowsElement element)
Parameters
| Type | Name | Description |
|---|---|---|
| WindowsElement | element | The |
Methods
| Improve this Doc View SourceScrollToBottom()
Scrolls the scroll viewer to the bottom.
Declaration
public virtual void ScrollToBottom()
ScrollToTop()
Scrolls the scroll viewer to the top.
Declaration
public virtual void ScrollToTop()
Operators
| Improve this Doc View SourceImplicit(AppiumWebElement to ScrollViewer)
Allows conversion of a
Declaration
public static implicit operator ScrollViewer(AppiumWebElement element)
Parameters
| Type | Name | Description |
|---|---|---|
| AppiumWebElement | element | The |
Returns
| Type | Description |
|---|---|
| ScrollViewer | The ScrollViewer. |
Implicit(RemoteWebElement to ScrollViewer)
Allows conversion of a
Declaration
public static implicit operator ScrollViewer(RemoteWebElement element)
Parameters
| Type | Name | Description |
|---|---|---|
| RemoteWebElement | element | The |
Returns
| Type | Description |
|---|---|
| ScrollViewer | The ScrollViewer. |
Implicit(WindowsElement to ScrollViewer)
Allows conversion of a
Declaration
public static implicit operator ScrollViewer(WindowsElement element)
Parameters
| Type | Name | Description |
|---|---|---|
| WindowsElement | element | The |
Returns
| Type | Description |
|---|---|
| ScrollViewer | The ScrollViewer. |