Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MasterRowGetLevelDefaultViewEventArgs.DefaultView Property

Gets or sets a pattern view to represent the detail View.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

public BaseView DefaultView { get; set; }

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

See Also