FlexGrid for WinForms
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 _
) 
'Usage
 
Dim instance As C1FlexGridRenderer
Dim flex As C1FlexGridBase
Dim e As OwnerDrawCellEventArgs
 
instance.OnDrawCell(flex, e)
public virtual void OnDrawCell( 
   C1FlexGridBase flex,
   OwnerDrawCellEventArgs e
)
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1FlexGridRenderer Class
C1FlexGridRenderer Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback