Skip to main content

GridControl.AddingNewRow Event

Fires before a new row is added to the data source via the Grid.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public event AddingNewEventHandler AddingNewRow

Remarks

Use the AddingNewRow event to customize the initialization of a new row. To do this, create a data item and set it as the event’s NewObject property value. By default, the NewObject property returns null (adding a new row is canceled).

Note

The AddingNewRow event does not fire when you add a new row directly to a bound data source.

See Also