windowsforms-devexpress-dot-xtragrid-dot-columns-dot-optionscolumneditform-04ccd3d1.md
Gets or sets whether the editor starts a new layout row within an Edit Form.
Namespace : DevExpress.XtraGrid.Columns
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool StartNewRow { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property StartNewRow As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true if an editor starts a new layout row; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to StartNewRow |
|---|---|
| GridColumn |
.OptionsEditForm .StartNewRow
|
You can start a new layout row of editors in an Edit Form with a specific editor. For this purpose set the OptionsColumnEditForm.StartNewRow property of the corresponding grid column to true. It is possible to assign a value to this property at design time or in code:
gridView1.Columns.ColumnByFieldName("Address").OptionsEditForm.StartNewRow = true;
GridView1.Columns.ColumnByFieldName("Address").OptionsEditForm.StartNewRow = True
In the following picture, an editor that represents the “Address” grid column starts a new layout row within an Edit Form.
See Also