FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / C1FlexGridBase Class / BuildScrollableRectangle Method
Horizontal scroll offset.
Vertical scroll offset.

In This Topic
    BuildScrollableRectangle Method (C1FlexGridBase)
    In This Topic
    Builds a rectangle that defines the scrollable portion of the control for a given pair of scroll offsets.
    Syntax
    'Declaration
     
    
    Protected Overrides Function BuildScrollableRectangle( _
       ByVal dx As Integer, _
       ByVal dy As Integer _
    ) As Rectangle
    protected override Rectangle BuildScrollableRectangle( 
       int dx,
       int dy
    )

    Parameters

    dx
    Horizontal scroll offset.
    dy
    Vertical scroll offset.

    Return Value

    A System.Drawing.Rectangle that defines the scrollable portion of the control.
    Remarks
    This method is for internal use. It allows derived classes to customize the control scrolling behavior.
    See Also