Skip to main content
.NET Framework 4.6.2+

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.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public string FindDetailViewId(
    object obj,
    View sourceView
)

Parameters

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.

Returns

Type Description
String

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

Remarks

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