Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(true)]
[DefaultValue(0)]
[XtraSerializableProperty]
public virtual int RowIndex { get; set; }

#Property Value

Type Default Description
Int32 0

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:

Object Type Path to RowIndex
BaseLayoutItem

#Remarks

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.

LayoutControl_TableLayoutExampleDetails

Note

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