Back to Devexpress

PivotGridControl.CustomUnboundFieldData Event

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridcontrol-3c880f9d.md

latest3.6 KB
Original Source

PivotGridControl.CustomUnboundFieldData Event

Enables providing data to unbound fields.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public event CustomFieldDataEventHandler CustomUnboundFieldData
vb
Public Event CustomUnboundFieldData As CustomFieldDataEventHandler

Event Data

The CustomUnboundFieldData event's data class is CustomFieldDataEventArgs. The following properties provide information specific to this event:

PropertyDescription
FieldGets the unbound field currently being processed. Inherited from CustomFieldDataEventArgsBase<T>.
ListSourceRowIndexGets the current row index in the data source. Inherited from CustomFieldDataEventArgsBase<T>.
ValueGets or sets the currently processed value. Inherited from CustomFieldDataEventArgsBase<T>.

The event data class exposes the following methods:

MethodDescription
GetListSourceColumnValue(Int32, String)Returns the value of the specified cell within the specified row in the control’s underlying data source. Inherited from CustomFieldDataEventArgsBase<T>.
GetListSourceColumnValue(String)Returns the value of the specified cell within the processed row in the control’s underlying data source. Inherited from CustomFieldDataEventArgsBase<T>.

Remarks

This member is no longer supported in Optimized, OLAP and Server modes. Use ExpressionDataBinding or OLAPExpressionBinding for OLAP instead.

Refer to the following article for more information on how to build an expression with custom function: Calculated Fields.

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.XtraPivotGrid Namespace