ComponentOne True DBGrid for WinForms
C1.Win.C1TrueDBGrid.4.5.2 Assembly / C1.Win.C1TrueDBGrid Namespace / C1TrueDBGrid Class / FetchCellStyle Event

In This Topic
    FetchCellStyle Event
    In This Topic
    Occurs whenever a cell is to be rendered and the C1DisplayColumn.FetchStyle is true.
    Syntax
    'Declaration
     
    Public Event FetchCellStyle As FetchCellStyleEventHandler
    public event FetchCellStyleEventHandler FetchCellStyle
    Event Data

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

    PropertyDescription
    The Style used to render the cell.  
    The index of the column in the DisplayColumns collection.  
    The C1DisplayColumn being rendered.  
    The sum of one or more CellStyleFlag constants describing the disposition of the cell being rendered.  
    The index of the row for the cell being rendered.  
    Indicates the position in the Splits collection.  
    See Also