Skip to main content

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

NuGet Package: DevExpress.Win.Navigation

Declaration

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

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