Back to Devexpress

OptionsColumnEditForm.StartNewRow Property

windowsforms-devexpress-dot-xtragrid-dot-columns-dot-optionscolumneditform-04ccd3d1.md

latest2.8 KB
Original Source

OptionsColumnEditForm.StartNewRow Property

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

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool StartNewRow { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property StartNewRow As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if an editor starts a new layout row; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to StartNewRow
GridColumn

.OptionsEditForm .StartNewRow

|

Remarks

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:

csharp
gridView1.Columns.ColumnByFieldName("Address").OptionsEditForm.StartNewRow = true;
vb
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

RowSpan

ColumnSpan

EditFormColumnCount

OptionsColumnEditForm Class

OptionsColumnEditForm Members

DevExpress.XtraGrid.Columns Namespace