ComponentOne FlexGrid for WinForms
OnDrawCell(C1FlexGridBase,OwnerDrawCellEventArgs) Method

C1.Win.C1FlexGrid Namespace > C1FlexGridRenderer Class > OnDrawCell Method : OnDrawCell(C1FlexGridBase,OwnerDrawCellEventArgs) Method
C1FlexGridBase that contains the cell being drawn.
OwnerDrawCellEventArgs that provides information about the cell being drawn.
Draws a grid cell of any type.
Syntax
'Declaration
 
Public Overloads Overridable Sub OnDrawCell( _
   ByVal flex As C1FlexGridBase, _
   ByVal e As OwnerDrawCellEventArgs _
) 
public virtual void OnDrawCell( 
   C1FlexGridBase flex,
   OwnerDrawCellEventArgs e
)

Parameters

flex
C1FlexGridBase that contains the cell being drawn.
e
OwnerDrawCellEventArgs that provides information about the cell being drawn.
Remarks
This method determines the type of cell being drawn and then calls the OnDrawCell(C1FlexGridBase,OwnerDrawCellEventArgs,CellType) method passing the type of cell to be drawn.
See Also

Reference

C1FlexGridRenderer Class
C1FlexGridRenderer Members
Overload List