True DBGrid for WinForms | ComponentOne
C1.Win.TrueDBGrid.8 Assembly / C1.Win.TrueDBGrid Namespace / C1TrueDBGrid Class / FormatText Event

In This Topic
    FormatText Event (C1TrueDBGrid)
    In This Topic
    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