RowDefinitions.Add(RowDefinition) Method

Adds the specified row to the table layout.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.2.dll

Declaration

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

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