A newer version of this page is available. Switch to the current version.

GridViewCustomBindingDataArgsBase.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 rows, or a list of grouping information objects, or a list of calculated summary values).

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll


public IEnumerable Data { get; set; }
Public Property Data As IEnumerable

Property Value

Type Description

An object supporting the IEnumerable interface and containing a list of values currently requested to populate the grid's custom view model.


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
GridViewCustomBindingGetDataHandler A list of the requested data rows to be returned from a custom model. Starting position is specified by the GridViewCustomBindingGetDataArgs.StartDataRowIndex property, and the number of rows to return is defined by the GridViewCustomBindingGetDataArgs.DataRowCount property.
GridViewCustomBindingGetSummaryValuesHandler A list of summary values calculated for each summary item within the GridViewCustomBindingGetSummaryValuesArgs.SummaryItems collection.
GridViewCustomBindingGetGroupingInfoHandler A list that contains grouping information (the group value - key, and the number of data rows within the group - count) on group rows relating to the processed grouping operation performed on a column specified by GridViewCustomBindingGetGroupingInfoArgs.FieldName property.
GridViewCustomBindingGetUniqueHeaderFilterValuesHandler A list of unique values from a data field specified by the GridViewCustomBindingGetUniqueHeaderFilterValuesArgs.FieldName property.
See Also