Document.ColumnSpan Property

Gets or sets the total number of columns that the current Document occupies.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[XtraSerializableProperty]
[DefaultValue(1)]
public int ColumnSpan { get; set; }
<XtraSerializableProperty>
<DefaultValue(1)>
Public Property ColumnSpan As Integer

Property Value

Type Default Description
Int32

1

An Int32 value that is the total number of columns that the current Document occupies.

Remarks

Documents within a table layout WidgetView are arranged into cells according to their Document.RowIndex and Document.ColumnIndex properties. Additionally, you can specify the Document.RowSpan and ColumnSpan properties to stretch individual Documents over multiple cells. The figure below illustrates several Documents with custom Document.RowSpan and ColumnSpan property values.

WidgetView - TableLayout Markup

See the Table Layout Mode section of the Widget View topic to learn more.

See Also