ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / C1DataGrid Class / CreatingRow Event

In This Topic
    CreatingRow Event
    In This Topic
    Occurs when a row is being created in the model, so you can override the creation returning a different row type.
    Syntax
    'Declaration
     
    
    Public Event CreatingRow As EventHandler(Of DataGridCreatingRowEventArgs)
    Event Data

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

    PropertyDescription
    Gets the data item associated with this row.  
    Gets or sets the row that will be used.  
    Gets the type of row.  
    Remarks
    Typically used to inject custom rows like SummaryRow, TemplateRow, etc
    See Also