Skip to main content

CardViewModel.ProcessCustomBinding(CardViewCustomBindingGetDataCardCountHandler, CardViewCustomBindingGetDataHandler, CardViewCustomBindingGetUniqueHeaderFilterValuesHandler) Method

Delegates the implementation of CardView view model population in the custom data binding mode to Model-layer functions specified via the method’s parameters.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public void ProcessCustomBinding(
    CardViewCustomBindingGetDataCardCountHandler getDataCardCountMethod,
    CardViewCustomBindingGetDataHandler getDataMethod,
    CardViewCustomBindingGetUniqueHeaderFilterValuesHandler getUniqueHeaderFilterValuesMethod
)

Parameters

Name Type Description
getDataCardCountMethod CardViewCustomBindingGetDataCardCountHandler

A CardViewCustomBindingGetDataCardCountHandler delegate method allowing you to implement custom processing to return the total number of data cards. Implementation is required.

getDataMethod CardViewCustomBindingGetDataHandler

A CardViewCustomBindingGetDataHandler delegate method allowing you to implement custom processing to return the data cards requested by the CardView. Implementation is required.

getUniqueHeaderFilterValuesMethod CardViewCustomBindingGetUniqueHeaderFilterValuesHandler

A CardViewCustomBindingGetUniqueHeaderFilterValuesHandler delegate method allowing you to implement custom processing to return unique values to be displayed in the header filter dropdown list invoked for a CardView column. Implementation is optional. It is required if you display header filter buttons to use filtering within the CardView.

Remarks

To learn more, refer to the following topics:

See Also