Skip to main content
A newer version of this page is available. .

GridControl.AddNewRow() Method

Adds a new record.

Namespace: DevExpress.UI.Xaml.Grid

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

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