Skip to main content

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.v24.2.dll

NuGet Package: DevExpress.Web.Mvc5

#Declaration

public delegate object ItemRequestedByValueMethod(
    ListEditItemRequestedByValueEventArgs args
);

#Parameters

Name Type Description
args ListEditItemRequestedByValueEventArgs

A ListEditItemRequestedByValueEventArgs object that contains the required data.

#Returns

Type
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