MasterRowGetLevelDefaultViewEventArgs.DefaultView Property
Gets or sets a pattern view to represent the detail View.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v21.1.dll
NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Grid
Declaration
Property Value
Type | Description |
---|---|
BaseView | A BaseView descendant that will be used to represent the detail’s data. |
Remarks
Initially, the property contains the default pattern View for this relation retrieved from the GridControl.LevelTree tree. The View is retrieved based on the corresponding relation name. This name is specified automatically for relations created at the data source level. In other cases, you can handle the GridView.MasterRowGetRelationName event to specify the relation name that should be used. If the GridControl.LevelTree tree does not contain the View specified by this relation name, the DefaultView property will contain null (Nothing in Visual Basic) initially.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the DefaultView 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.