The requested page is not available for the requested platform. You are viewing the content for Default platform.

ItemRequestedByValueMethod Delegate

A delegate method that enables you to implement retrieval of an item by its value.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll

Declaration

public delegate object ItemRequestedByValueMethod(
    ListEditItemRequestedByValueEventArgs args
);
Public Delegate Function ItemRequestedByValueMethod(
    args As ListEditItemRequestedByValueEventArgs
) As Object

Parameters

Name Type Description
args ListEditItemRequestedByValueEventArgs

A ListEditItemRequestedByValueEventArgs object that contains the required data.

Returns

Type Description
Object

Remarks

Use the ItemRequestedByValueMethod delegate to implement retrieval of an item by its value. It can be accessed by the argument ListEditItemRequestedByValueEventArgs.Value property.

Note that the ItemRequestedByValueMethod delegate should return a collection containing a single item with the specified value.

See Also