IRelationListEx.GetRelationDisplayName(Int32, Int32) Method
When implemented by a class, returns the display caption of a particular relationship in a specific master row.
Namespace: DevExpress.Data
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
index | Int32 | An integer value that specifies the master row. |
relation |
Int32 | An integer value that specifies the relationship. |
#Returns
Type | Description |
---|---|
String | A string value that specifies the display caption of a particular relationship in a specific master row. |
#Remarks
This method returns the display caption of a particular relationship in a specific master row. The current row and relationship are identified by the index and relationIndex parameters, respectively.
When implementing a data source for a GridControl, a relationship’s display caption is displayed within detail tabs and detail tooltips.