OptionsTableLayoutItem.RowSpan Property

Gets or sets the number of rows spanned by the current layout item within the table layout.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.2.dll


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

Property Value

Type Default Description


A positive integer value that specifies the number of rows spanned by the layout item.

Property Paths

You can access this nested property as listed below:


Layout items are positioned within the table layout according to their OptionsTableLayoutItem.RowIndex and OptionsTableLayoutItem.ColumnIndex properties. The 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 RowSpan property to a value that is less than 1 or exceeds the number of rows available for item arrangement.

See Also