A newer version of this page is available. Switch to the current version.

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.v19.2.dll

Declaration

[DefaultValue(1)]
[XtraSerializableProperty]
public virtual int RowSpan { get; set; }
<DefaultValue(1)>
<XtraSerializableProperty>
Public Overridable Property RowSpan As Integer

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
LayoutViewColumn
.OptionsEditForm.RowSpan
BandedGridColumn
.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