BaseView.ParentView Property
Gets or sets a master View for the current View.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v22.2.dll
NuGet Package: DevExpress.Win.Grid
Declaration
Property Value
Type | Description |
---|---|
BaseView | A BaseView descendant representing a parent View. |
Remarks
Use the ParentView property to obtain a master View for the current View. For GridControl.MainView and pattern Views, the property returns null (Nothing in Visual Basic). For a detail opened at runtime, the property returns the View whose master row was expanded to open the detail. For instance, for detail clones displayed at the second level, the ParentView property returns the GridControl.MainView object. For detail clones at the third level, the property returns the clone at the second level whose master row was expanded to make this detail visible.