System.Windows.Forms.HtmlElement.ScrollRectangle Property

Gets the dimensions of an element's scrollable region.

Syntax

public System.Drawing.Rectangle ScrollRectangle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

An element will have a scrollable region if its content exceeds the size of its dimensions, unless the overflow style on the element forbids rendering scrollbars.

You cannot modify the size of the scroll area directly, but you can modify the distance between the edges of the scroll area and the edges of the element. Use the HtmlElement.ScrollLeft and HtmlElement.ScrollTop properties to achieve this.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0