Adds a data object, which implements the IDictionary<(Of <(<'TKey, TValue>)>)> interface on the top hierarchical level. Such object will be automatically associated with the DictionaryDataAccessor

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(
	IDictionary collection
)
Visual Basic
Public Function Add ( 
	collection As IDictionary
) As Row
Visual C++
public:
Row^ Add(
	IDictionary^ collection
)
F#
member Add : 
        collection : IDictionary -> Row 

Parameters

collection
Type: System.Collections..::..IDictionary
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