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

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


public virtual bool UseEditorColRowSpan { get; set; }
Public Overridable Property UseEditorColRowSpan As Boolean

Property Value

Type Default Description


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


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