VGridControlBase.CreateRow(Int32) Method

Returns a newly created BaseRow descendant (the EditorRow, MultiEditorRow or CategoryRow object depending on the passed parameter).

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

public virtual BaseRow CreateRow(
    int rowTypeId
)
Public Overridable Function CreateRow(
    rowTypeId As Integer
) As BaseRow

Parameters

Name Type Description
rowTypeId Int32

An integer value that specifies which BaseRow descendant should be created.

Returns

Type Description
BaseRow

A BaseRow descendant.

Remarks

The CreateRow method creates a BaseRow descendant. The rowTypeId parameter specifies which BaseRow descendant should be created according to the following correlation:

In all other cases, the CreateRow method throws the InvalidCastException.

See Also