ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.8 Assembly / C1.Win.C1FlexGrid Namespace / C1FlexGrid Class / BuildScrollableRectangle Method
Horizontal scroll offset.
Vertical scroll offset.

In This Topic
    BuildScrollableRectangle Method (C1FlexGrid)
    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 dx As Integer, _
       ByVal dy As Integer _
    ) As Rectangle
    protected virtual 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