Skip to main content
A newer version of this page is available.
All docs
V19.1

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the IsGetData property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also