[]
        
(Showing Draft Content)

C1.Win.C1FlexGrid.Util.BaseControls.ScrollableControl.BuildScrollableRectangle

BuildScrollableRectangle Method

BuildScrollableRectangle(int, int)

Builds a rectangle that defines the scrollable portion of the control for a given pair of scroll offsets.

Declaration
protected virtual Rectangle BuildScrollableRectangle(int dx, int dy)
Parameters
Type Name Description
int dx

Horizontal scroll offset.

int dy

Vertical scroll offset.

Returns
Type Description
Rectangle

A 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.