Skip to main content

CardViewModel.ProcessCustomBinding(CardViewCustomBindingGetDataCardCountHandler, CardViewCustomBindingGetDataHandler, CardViewCustomBindingGetSummaryValuesHandler) 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,
    CardViewCustomBindingGetSummaryValuesHandler getSummaryValuesMethod
)

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.

getSummaryValuesMethod CardViewCustomBindingGetSummaryValuesHandler

A CardViewCustomBindingGetSummaryValuesHandler delegate method allowing you to implement custom processing to calculate and return values of summaries required within the CardView. Implementation is optional. It is required if you use summaries within the CardView.

Remarks

To learn more, refer to the following topics:

See Also