Back to Devexpress

BaseView.LevelName Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-baseview-bb2045de.md

latest2.0 KB
Original Source

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

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public virtual string LevelName { get; }
vb
<Browsable(False)>
Public Overridable ReadOnly Property LevelName As String

Property Value

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

See Also

LevelTree

DataSource

ParentView

BaseView Class

BaseView Members

DevExpress.XtraGrid.Views.Base Namespace