Click or drag to resize

IElementScrollIntoView Method

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

Namespace:  DotNetBrowser.Dom
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.2
Syntax
C#
void ScrollIntoView(
	AlignTo alignTo
)

Parameters

alignTo
Type: DotNetBrowser.DomAlignTo
Describes how the element will be aligned to the visible area of the scrollable ancestor
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IElement has already been disposed.
Remarks

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

See Also