.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.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.v20.2.dll

Declaration

public string FindDetailViewId(
    object obj,
    View sourceView
)
Public Function FindDetailViewId(
    obj As Object,
    sourceView As View
) As String

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