Skip to main content

TreeListOptionsColumnEditForm.ColumnSpan Property

Gets or sets the number of layout columns that the editor occupies.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v24.2.dll

Declaration

[DefaultValue(1)]
[XtraSerializableProperty]
public virtual int ColumnSpan { get; set; }

Property Value

Type Default Description
Int32 1

An integer value that specifies the number of layout columns that the editor occupies.

Property Paths

You can access this nested property as listed below:

Object Type Path to ColumnSpan
TreeListColumn
.OptionsEditForm .ColumnSpan

Remarks

An editor within an Edit Form spans one or more layout columns. The default number depends on the editor type. Most editors span one layout column and one layout row except for the MemoEdit and PictureEdit editors. The PictureEdit spans two layout columns and three layout rows. The MemoEdit spans all layout columns and three layout rows.

image

If you want to use a custom layout column and row spans, set the UseEditorColRowSpan property to false and use the RowSpan and ColumnSpan properties to specify the spans.

The tree list’s EditFormColumnCount option specifies the total number of layout columns in the Edit Form.

See Also