Skip to main content

MultiEditorRowPropertiesCollection.Add(MultiEditorRowProperties) Method

Adds an existing row item to the end of the collection.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

public int Add(
    MultiEditorRowProperties rowProperties
)

Parameters

Name Type Description
rowProperties MultiEditorRowProperties

A MultiEditorRowProperties object representing the row item to add.

Returns

Type Description
Int32

An integer value representing the collection index of the row item added.

Remarks

The Add method adds an existing row item to the end of the collection and returns its index.

To add an array of existing row items to the collection, use the MultiEditorRowPropertiesCollection.AddRange method. If you need to add a row item to a particular position within the collection, use the MultiEditorRowPropertiesCollection.Insert method. To remove a row item from the collection, use the MultiEditorRowPropertiesCollection.Remove method. Additionally, you can call the MultiEditorRowPropertiesCollection.Clear method to remove all row items from the collection.

See Also