Gets the dimensions of an element's scrollable region.
Public ReadOnly Property ScrollRectangle As Rectangle
public Rectangle ScrollRectangle { get; }
public: property Rectangle ScrollRectangle { Rectangle get (); }
member ScrollRectangle : Rectangle
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2