Skip to main content

Document.ColumnIndex Property

Gets or sets an integer value that is the index of a column within a table layout WidgetView, in which this Document is nested.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(0)]
[XtraSerializableProperty]
public int ColumnIndex { get; set; }

Property Value

Type Default Description
Int32 0

An Int32 value that is the index of a column within a table layout WidgetView, in which this Document is nested.

Remarks

Documents within a table layout WidgetView are arranged into cells, formed by a set of rows and columns. Each row and column has a zero-based index that specifies its order within the WidgetView.Rows and WidgetView.Columns collections respectively. To arrange Documents in code, use their Document.RowIndex and ColumnIndex properties. You can also set the Document.RowSpan and Document.ColumnSpan properties to stretch Documents horizontally and/or vertically over multiple neighboring cells. See the Table Layout Mode section of the Widget View topic to learn more.

See Also