ComponentOne FlexGrid for WinForms
GetContentRectangle Method

C1.Win.C1FlexGrid Namespace > CellStyle Class : GetContentRectangle Method
Cell rectangle.
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

Reference

CellStyle Class
CellStyle Members