Skip to main content
A newer version of this page is available. .

OptionsColumnEditForm.UseEditorColRowSpan Property

Gets of sets whether each editor spans the default number of layout columns and rows, specified by the editor’s type.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool UseEditorColRowSpan { get; set; }

Property Value

Type Default Description
Boolean **true**

true, if the default column and row spans are used; false, if the custom column and row spans (specified by the OptionsColumnEditForm.ColumnSpan and OptionsColumnEditForm.RowSpan properties) are used.

Property Paths

You can access this nested property as listed below:

Object Type Path to UseEditorColRowSpan
GridColumn
.OptionsEditForm.UseEditorColRowSpan
LayoutViewColumn
.OptionsEditForm.UseEditorColRowSpan
BandedGridColumn
.OptionsEditForm.UseEditorColRowSpan

Remarks

Each editor within an Edit Form spans one or more layout columns. If the UseEditorColRowSpan property is set to true, the number of layout columns and rows an editor spans within an Edit Form depends on its type. Most editors span one layout column and one layout row with the exception of the MemoEdit and the PictureEdit. By default, the MemoEdit spans all layout columns within an Edit Form and three layout rows (the total number of layout columns within an Edit Form is specified via the GridOptionsEditForm.EditFormColumnCount property). By default, the PictureEdit spans two layout columns and three layout rows.

Set the UseEditorColRowSpan property to false if you want to use custom layout column and row spans. To specify the number of layout columns and rows an editor spans within an Edit Form, use the OptionsColumnEditForm.RowSpan and OptionsColumnEditForm.ColumnSpan properties of the appropriate grid column.

See Also