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

GridView.GetRelationName(Int32, Int32) Method

Returns the name of the level whose associated View represents the specified detail clone.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v17.2.dll

Declaration

public virtual string GetRelationName(
    int rowHandle,
    int relationIndex
)

Parameters

Name Type Description
rowHandle Int32

An integer value specifying the master row handle.

relationIndex Int32

A zero-based integer specifying the index of the relationship in the data source.

Returns

Type Description
String

A string value representing the level name.

Remarks

This member supports the grid control’s internal infrastructure and is not intended to be used in your code.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetRelationName(Int32, Int32) method.

Note

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.

See Also