Skip to main content

RowDefinitions.Add(RowDefinition) Method

Adds the specified row to the table layout.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual int Add(
    RowDefinition rowDefinition
)

Parameters

Name Type Description
rowDefinition RowDefinition

An object that specifies the row to be added.

Returns

Type Description
Int32

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

Remarks

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