Back to Devexpress

XafApplication.GetDetailViewId(Type) Method

expressappframework-devexpress-dot-expressapp-dot-xafapplication-dot-getdetailviewid-x28-system-dot-type-x29.md

latest1.9 KB
Original Source

XafApplication.GetDetailViewId(Type) Method

Returns the ID of the Detail View which is used for objects of a specified type by default, and raises an exception if the appropriate View ID is not found.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public string GetDetailViewId(
    Type objectType
)
vb
Public Function GetDetailViewId(
    objectType As Type
) As String

Parameters

NameTypeDescription
objectTypeType

A string value that represents a business object type.

|

Returns

TypeDescription
String

A string value that represents the ID of the View used to display objects whose type is specified by the objectType parameter.

|

Remarks

This method calls the XafApplication.FindDetailViewId method and raises an exception if the appropriate View has not been found. Use this method instead of the XafApplication.FindDetailViewId method if you need an exception to be raised in an exclusive situation.

See Also

XafApplication Class

XafApplication Members

DevExpress.ExpressApp Namespace