GridControl.CustomUnboundColumnData Event

Enables data to be supplied to Unbound Columns.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.dll

Declaration

public event GridColumnDataEventHandler CustomUnboundColumnData
Public Event CustomUnboundColumnData As GridColumnDataEventHandler

Event Data

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

Property Description
Column Gets the unbound column currently being processed.
IsGetData Gets whether you should provide data for the currently processed cell. Inherited from ColumnDataEventArgsBase.
IsSetData Gets whether a cell's value should be saved to a data source. Inherited from ColumnDataEventArgsBase.
ListSourceRowIndex Gets the index of the record in a data source to which the processed row corresponds.
Source Gets the grid control that raised the event.
Value Gets or sets the processed cell's value. Inherited from ColumnDataEventArgsBase.

Remarks

Unbound Columns are not bound to any field in the data source. In most instances, data for unbound columns is obtained from a custom data source or is calculated based upon the values of bound columns. To provide data for unbound columns and save any changes made back to a custom data source, handle the CustomUnboundColumnData event.

NOTE

The TreeListView provides its own TreeListView.CustomUnboundColumnData event.

See Also