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.
An object for which the View ID must be determined.
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.