Skip to main content
.NET 8.0+

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

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