HtmlElement.ScrollTop Property
.NET Framework 3.0
Gets or sets the distance between the edge of the element and the top edge of its content.
Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)
Assembly: System.Windows.Forms (in system.windows.forms.dll)
/** @property */ public int get_ScrollTop () /** @property */ public void set_ScrollTop (int value)
public function get ScrollTop () : int public function set ScrollTop (value : int)
Not applicable.
Property Value
The distance, in pixels, between the top edge of the element and the top edge of its content.The full dimensions of the scroll area are available using ScrollRectangle; ScrollLeft and ScrollTop are exposed independently because these are the only two properties of the scroll area that developers can set.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.