IRelationList.GetDetailList(Int32, Int32) Method
When implemented by a class, returns detail data for a relationship.
NuGet Package: DevExpress.Data
IList GetDetailList( int index, int relationIndex )
Function GetDetailList( index As Integer, relationIndex As Integer ) As IList
An integer value that specifies the index of a master row in the data source.
An integer value that specifies the relationship.
An object that implements the IList interface and represents detail data for a relationship.
This method is called in turn for each relationship for each master row. Use this method to supply data for particular relationships.
The relationIndex parameter specifies a value between 0 and RelationCount - 1, where RelationCount is the number of relationships for the currently processed row. The number of relationships is identified:
- by the IRelationList.RelationCount property, if using the IRelationList interface;
- by the IRelationListEx.GetRelationCount method, if using the IRelationListEx interface.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetDetailList(Int32, Int32) method.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.