The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

XafApplication.FindLookupListViewId(Type) Method

Returnes the ID of the Lookup List View which is used for objects of a specified type by default.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public string FindLookupListViewId(
    Type objectType
)
Public Function FindLookupListViewId(
    objectType As Type
) As String
public string FindLookupListViewId(
    Type objectType
)
Public Function FindLookupListViewId(
    objectType As Type
) As String
public string FindLookupListViewId(
    Type objectType
)
Public Function FindLookupListViewId(
    objectType As Type
) As String

Parameters

Name Type Description
objectType Type

A string value that represents a business object type.

Parameters

Name Type Description
objectType Type

A string value that represents a business object type.

Parameters

Name Type Description
objectType Type

A string value that represents a business object type.

Returns

Type Description
String

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

Returns

Type Description
String

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

Returns

Type Description
String

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

Remarks

Use this method when you need to specify the ID of the Lookup List View which must be created for the current object type. For example, when using the XafApplication.CreateListView method to create a Lookup List View, you need to pass the ID of the Lookup List View to be created. The FindLookupListViewId method returns the value of the DefaultLookupListViewId property of the Application Model's BOModel | <Class> node. This node defines the type passed as the viewId parameter.

See Also