FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / CellStyle Class / GetContentRectangle Method
Cell rectangle.

In This Topic
    GetContentRectangle Method (CellStyle)
    In This Topic
    Gets the content portion of a cell's rectangle.
    Syntax
    'Declaration
     
    
    Public Function GetContentRectangle( _
       ByVal rc As Rectangle _
    ) As Rectangle
    public Rectangle GetContentRectangle( 
       Rectangle rc
    )

    Parameters

    rc
    Cell rectangle.

    Return Value

    A rectangle that represents the content portion of a cell, discounting the area taken up by the cell borders.
    See Also