windowsforms-devexpress-dot-xtragrid-dot-columns-dot-optionscolumneditform-06d76b44.md
Gets or sets the number of layout rows the editor spans within an Edit Form. For the RowSpan property to be in effect, set the OptionsColumnEditForm.UseEditorColRowSpan property to false.
Namespace : DevExpress.XtraGrid.Columns
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(1)]
[XtraSerializableProperty]
public virtual int RowSpan { get; set; }
<DefaultValue(1)>
<XtraSerializableProperty>
Public Overridable Property RowSpan As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 1 |
The number of rows the editor spans in an Edit Form.
|
You can access this nested property as listed below:
| Object Type | Path to RowSpan |
|---|---|
| GridColumn |
.OptionsEditForm .RowSpan
|
Note
For the RowSpan and OptionsColumnEditForm.ColumnSpan properties to be in effect, ensure that the OptionsColumnEditForm.UseEditorColRowSpan property is set to false.
gridView1.OptionsBehavior.EditingMode = DevExpress.XtraGrid.Views.Grid.GridEditingMode.EditForm;
colProductID.OptionsEditForm.UseEditorColRowSpan = false;
colProductID.OptionsEditForm.ColumnSpan = 2;
colProductID.OptionsEditForm.RowSpan = 2;
gridView1.OptionsBehavior.EditingMode = DevExpress.XtraGrid.Views.Grid.GridEditingMode.EditForm
colProductID.OptionsEditForm.UseEditorColRowSpan = False
colProductID.OptionsEditForm.ColumnSpan = 2
colProductID.OptionsEditForm.RowSpan = 2
See the OptionsColumnEditForm.ColumnSpan property to learn more.
See Also