Back to Devexpress

OptionsColumnEditForm.UseEditorColRowSpan Property

windowsforms-devexpress-dot-xtragrid-dot-columns-dot-optionscolumneditform.md

latest3.7 KB
Original Source

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

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

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool UseEditorColRowSpan { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property UseEditorColRowSpan As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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 TypePath to UseEditorColRowSpan
GridColumn

.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

RowSpan

ColumnSpan

EditFormColumnCount

OptionsColumnEditForm Class

OptionsColumnEditForm Members

DevExpress.XtraGrid.Columns Namespace