Skip to main content
.NET 6.0+

XafApplication.FindDetailViewId(Object, View) Method

Returns the ID of the Detail View which must be used for a specific object, when invoked from the source View.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp


public string FindDetailViewId(
    object obj,
    View sourceView


Name Type Description
obj Object

An object for which the View ID must be determined.

sourceView View

A View object that represents the View from which the new Detail View will be invoked.


Type Description

A string value that represents the ID of the View which must be used for the specified object.


Generally, you do not need to use this method. To create a Detail View for a specific object by the information on the source View, use the XafApplication.CreateDetailView method overload that has the sourceView parameter.

See Also