Skip to main content
.NET 8.0+

ListView.DetailViewId Property

Specifies the ID of the Detail View which is invoked from the current List View, or displayed together with a ListView.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public string DetailViewId { get; set; }

Property Value

Type Description
String

A string value that represents the ID of the Detail View that represents the object selected in the List View.

Remarks

The DetailViewId property allows you to set the ID of the required Detail View that will represent the object selected in the List View. If the DetailViewId is empty, the actual Detail View to be displayed will be determined based on the type of the object created or edited via the List View. The default DetailView ID is specified by the IModelClass.DefaultDetailView property of a corresponding BOModel | <Class> node

A List View is displayed together with a Detail View when the IModelListView.MasterDetailMode property of the appropriate Views | <ListView> node is set to the MasterDetailMode.ListViewAndDetailView. In this scenario, the Detail View represents the object currently focused in the List View’s List Editor:

Tutorial_UIC_Lesson17_2

To access the Detail View, use the ListView.EditView property.

See Also