Back to Devexpress

Document.ColumnSpan Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-widget-dot-document-619eb743.md

latest2.9 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Int321

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.

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

See Also

RowIndex

ColumnIndex

RowSpan

Widget View

Document Class

Document Members

DevExpress.XtraBars.Docking2010.Views.Widget Namespace