A newer version of this page is available.

CustomColumnDataEventArgs.IsGetData Property

Gets a Boolean value which indicates whether you should provide data for the currently processed cell.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

public bool IsGetData { get; }

Property Value

Type Description
Boolean

true if you need to provide data for the currently processed cell, false otherwise.

Remarks

If the IsGetData property returns true (and consequently the CustomColumnDataEventArgs.IsSetData property is set to false) the data for the cell currently being processed should be supplied via the event handler. To do this get a value from your data source based upon the current row and unbound column and assign it to the event’s CustomColumnDataEventArgs.Value parameter. The current unbound column is identified by the CustomColumnDataEventArgs.Column property. The CustomColumnDataEventArgs.ListSourceRowIndex property can be used to identify the currently processed row.

If the IsGetData property is set to false (and consequently the CustomColumnDataEventArgs.IsSetData property is set to true) the CustomColumnDataEventArgs.Value parameter identifies the value which has been set for the current cell from the grid. This should be stored to your data source by the event handler.

See Also