RowDefinitions.Add(RowDefinition) Method

Adds the specified row to the table layout.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.2.dll


public virtual int Add(
    RowDefinition rowDefinition
Public Overridable Function Add(
    rowDefinition As RowDefinition
) As Integer


Name Type Description
rowDefinition RowDefinition

An object that specifies the row to be added.


Type Description

The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.


The Add method adds a specified RowDefinition object to the current row collection. You can also add an array of row objects to this collection using the RowDefinitions.AddRange method.

See Also