Adds a data object, which implements the IList<(Of <(<'T>)>)> interface on the top hierarchical level. Such object will be automatically associated with the ListDataAccessor

Namespace: Dapfor.Wpf.Controls
Assembly: Dapfor.Wpf (in Dapfor.Wpf.dll) Version: 4.1.0.26317 (4.1.0.26317)

Syntax

C#
public Row Add(
	IList collection
)
Visual Basic
Public Function Add ( 
	collection As IList
) As Row
Visual C++
public:
Row^ Add(
	IList^ collection
)
F#
member Add : 
        collection : IList -> Row 

Parameters

collection
Type: System.Collections..::..IList
The data object.

Return Value

Type: Row
A new Row, having the data object if success; Otherwise null. The returned Row may be used to build any hierarchy in the GridControl.

Thread Safety

The function is thread safe. The Row is added in the synchronous way with blocking the calling thread.

See Also