Table of Contents

Method ScrollIntoView

Namespace
DotNetBrowser.Dom
Assembly
DotNetBrowser.dll

ScrollIntoView(AlignTo)

Scrolls the element's parent container such that the element on which this method is called is visible to the user.

void ScrollIntoView(AlignTo alignTo)

Parameters

alignTo AlignTo

Describes how the element will be aligned to the visible area of the scrollable ancestor

Remarks

Note that the element may not be scrolled completely to the top or bottom depending on the layout of other elements.

Exceptions

ObjectDisposedException

The IElement has already been disposed.