Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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