ComponentOne True DBGrid for WinForms
FormatText Event (C1TrueDBGrid)

C1.Win.C1TrueDBGrid.4 Assembly > C1.Win.C1TrueDBGrid Namespace > C1TrueDBGrid Class : FormatText Event
Occurs whenever a cell is about to be rendered and whose C1DataColumn.NumberFormat property has been set to FormatText Event.
Syntax
'Declaration
 
Public Event FormatText As FormatTextEventHandler
public event FormatTextEventHandler FormatText
Event Data

The event handler receives an argument of type FormatTextEventArgs containing data related to this event. The following FormatTextEventArgs properties provide information specific to this event.

PropertyDescription
Indicates the position in the Columns collection.  
The C1DataColumn object.  
The row index for the cell to be formatted.  
The value to format.  
See Also