The requested page is not available for the requested platform. You are viewing the content for Default platform.

GridControl.InitNewRow Event

Allows you to initialize a new row with default values.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v19.1.dll


public event InitNewRowEventHandler InitNewRow
Public Event InitNewRow As InitNewRowEventHandler

Event Data

The InitNewRow event handler receives an argument of the InitNewRowEventArgs type. The following properties provide information specific to this event.

Property Description
RowHandle Gets the handle of the added row.


When an end-user starts to edit the New Item Row, the InitNewRow event is raised. You can handle this event to initialize the required fields within the new record. To do this, obtain the row using the GridControl.GetRow method, cast it to the data item type and set the data property values.

See Also