Skip to main content

OptionsColumnEditForm.RowSpan Property

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.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

[DefaultValue(1)]
[XtraSerializableProperty]
public virtual int RowSpan { get; set; }

Property Value

Type Default Description
Int32 1

The number of rows the editor spans in an Edit Form.

Property Paths

You can access this nested property as listed below:

Object Type Path to RowSpan
GridColumn
.OptionsEditForm .RowSpan

Remarks

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;

See the OptionsColumnEditForm.ColumnSpan property to learn more.

See Also