Skip to main content
A newer version of this page is available. .

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.v18.2.dll

Declaration

string GetRelationDisplayName(
    int index,
    int relationIndex
)

Parameters

Name Type Description
index Int32

An integer value that specifies the master row.

relationIndex 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.

See Also