ComponentOne DataGrid for WPF and Silverlight
CreatingRow Event (C1DataGrid)

C1.WPF.DataGrid Namespace > C1DataGrid Class : CreatingRow Event
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 System.EventHandler(Of DataGridCreatingRowEventArgs)
public event System.EventHandler<DataGridCreatingRowEventArgs> CreatingRow
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