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

GridLevelNode.LevelTemplate Property

Gets or sets the pattern view associated with a relationship.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

[DefaultValue(null)]
public virtual BaseView LevelTemplate { get; set; }

Property Value

Type Default Description
BaseView *null*

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the LevelTemplate 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