CardViewCustomBindingDataArgsBase.Data Property
Gets or sets a list of currently requested model characteristics (depending upon which delegated method is being implemented, it can be a list of data cards, or a list of calculated summary values).
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Property Value
Type | Description |
---|---|
IEnumerable | An object supporting the IEnumerable interface and containing a list of values currently requested to populate the CardView’s custom view model. |
Remarks
The Data property is the main property that must be set when implementing different custom binding method delegates. Refer to Implementation of Typed Method Delegates to learn more.
The following table lists which characteristics need to be defined via the Data property for specific delegate types.
Delegate Type | Characteristics to Return |
---|---|
CardViewCustomBindingGetDataHandler | A list of the requested data cards to be returned from a custom model. Starting position is specified by the CardViewCustomBindingGetDataArgs.StartDataCardIndex property, and the number of cards to return is defined by the CardViewCustomBindingGetDataArgs.DataCardCount property. |
CardViewCustomBindingGetSummaryValuesHandler | A list of summary values calculated for each summary item within the CardViewCustomBindingGetSummaryValuesArgs.SummaryItems collection. |
CardViewCustomBindingGetUniqueHeaderFilterValuesHandler | A list of unique values from a data field specified by the CardViewCustomBindingGetUniqueHeaderFilterValuesArgs.FieldName property. |