Skip to main content

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

Declaration

public void ProcessCustomBinding(
    CardViewCustomBindingGetDataCardCountHandler getDataCardCountMethod,
    CardViewCustomBindingGetDataHandler getDataMethod,
    CardViewCustomBindingGetSummaryValuesHandler getSummaryValuesMethod,
    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.

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.

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