OptionsTableLayoutItem.RowIndex Property

Gets or sets the index of the row in which the current layout item is displayed.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.2.dll


public virtual int RowIndex { get; set; }
Public Overridable Property RowIndex As Integer

Property Value

Type Default Description


The zero-based index that specifies the layout item's row position within the table layout.

Property Paths

You can access this nested property as listed below:


Layout items are positioned within the table layout according to their RowIndex and OptionsTableLayoutItem.ColumnIndex properties. The OptionsTableLayoutItem.RowSpan and OptionsTableLayoutItem.ColumnSpan settings define the number of columns and rows occupied by a specific layout item.

The following image demonstrates the table layout that consists of five items arranged in three columns and three rows.



If you specify the same target table cells for two or more layout items, these items will overlap.

You cannot set the RowIndex property to a value that is less than 0 or exceeds the number of rows within the table layout.

See Also