Skip to main content

GridControl.AddNewRow() Method

Adds a new record.

Namespace: DevExpress.UI.Xaml.Grid

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

NuGet Package: DevExpress.Uwp.Controls

Declaration

public void AddNewRow()

Remarks

Use the AddNewRow method to add a new record to the grid’s underlying datasource. The grid immediately reflects any changes made to the datasource and focuses the new record.

The AddNewRow method is available for all datasources supported by the grid. The data item class should have a public default constructor.

An end-user can add new records via the New Item Row.

See Also