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

VGridControlBase.AddNewRecord() Method

Adds a new record.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v18.2.dll

Declaration

public virtual void AddNewRecord()

Remarks

Use the AddNewRecord method to add a new record to the vertical grid’s underlying data source. The vertical grid reflects any changes made to the data source and focuses the new record if the VGridOptionsBehavior.AutoFocusNewRecord property is set to true.

Calling the AddNewRecord method has no effect if the vertical grid functions in unbound mode.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AddNewRecord() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also