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

BaseView.LevelName Property

Gets the name of the master-detail relationship corresponding to the current detail View.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

[Browsable(false)]
public virtual string LevelName { get; }

Property Value

Type Description
String

A String value indicating the relationship name represented by the current detail View.

Remarks

A master-detail relationship associates a master table with a detail table using specific fields. To display a master-detail relationship, the grid control creates master and detail Views for the master and detail recordsets respectively. LevelName returns the name of the relationship by which the current detail View is linked to its master View. Refer to the Master-Detail Relationships topic for details.

The following code snippets (auto-collected from DevExpress Examples) contain references to the LevelName property.

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