HtmlElement.ScrollRectangle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the dimensions of an element's scrollable region.
public:
property System::Drawing::Rectangle ScrollRectangle { System::Drawing::Rectangle get(); };
public System.Drawing.Rectangle ScrollRectangle { get; }
member this.ScrollRectangle : System.Drawing.Rectangle
Public ReadOnly Property ScrollRectangle As Rectangle
Property Value
The size and coordinate location of the scrollable area of an element.
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 ScrollLeft and ScrollTop properties to achieve this.