BuildScrollableRectangle Method (ScrollableControl)
In This Topic
Builds a rectangle that defines the scrollable portion of the control for a given pair of scroll offsets.
Syntax
'Declaration
Protected Overridable Function BuildScrollableRectangle( _
ByVal As Integer, _
ByVal As Integer _
) As Rectangle
protected virtual Rectangle BuildScrollableRectangle(
int ,
int
)
Parameters
- dx
- Horizontal scroll offset.
- dy
- Vertical scroll offset.
Return Value
A
System.Drawing.Rectangle that defines the scrollable portion of the control.
See Also