Skip to main content

PivotGridControl.CustomUnboundFieldData Event

Enables data to be supplied for unbound fields.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v14.2.dll

#Declaration

public event PivotCustomFieldDataEventHandler CustomUnboundFieldData

#Event Data

The CustomUnboundFieldData event's handler receives an argument of the PivotCustomFieldDataEventArgs type. The following properties provide information specific to this event:

Property Description
Field Gets the unbound field currently being processed.
ListSourceRowIndex Gets the current row's index in the data source.
ThreadSafeField Gets the unbound field currently being processed. Provides read-only access to field settings.
Value Gets or sets the value of the cell currently being processed.

#Remarks

Unbound fields are not bound to any field in the data source. In most instances, data for unbound fields is obtained from a custom data source or is calculated based upon the values of bound fields. To provide data for unbound fields, you can specify an expression (formula) used to evaluate values for this field via the PivotGridField.UnboundExpression property or handle the CustomUnboundFieldData event.

To learn more, see Unbound Fields.

See Also