Back to Devexpress

GridLevelNode.LevelTemplate Property

windowsforms-devexpress-dot-xtragrid-dot-gridlevelnode-90473d8d.md

latest1.9 KB
Original Source

GridLevelNode.LevelTemplate Property

Gets or sets the pattern view associated with a relationship.

Namespace : DevExpress.XtraGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(null)]
public virtual BaseView LevelTemplate { get; set; }
vb
<DefaultValue(Nothing)>
Public Overridable Property LevelTemplate As BaseView

Property Value

TypeDefaultDescription
BaseViewnull

A BaseView descendant representing the pattern View associated with a relationship.

|

Remarks

Each node associates a relationship with a pattern View. The relationship is specified by its name via the GridLevelNode.RelationName property. The LevelTemplate property refers to the pattern View.

If the LevelTemplate property is null the pattern View used to represent the node’s relationship is obtained from its parent node.

See Also

RelationName

GridLevelNode Class

GridLevelNode Members

DevExpress.XtraGrid Namespace