CustomColumnDataEventArgs.IsSetData Property
Gets whether the current cell’s value should be stored in a custom data source.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true if the current cell’s value needs to be saved in a custom data source. |
Remarks
If the IsSetData property is set to true (and consequently the CustomColumnDataEventArgs.IsGetData property is set to false) the CustomColumnDataEventArgs.Value parameter identifies the value which has been set for the current cell in the grid. This should be stored in your data source by the event handler.
The current cell’s column is identified by the CustomColumnDataEventArgs.Column property. The CustomColumnDataEventArgs.ListSourceRowIndex property can be used to identify the cell’s row.
If the IsSetData property returns false (and consequently the CustomColumnDataEventArgs.IsGetData property is set to true) the data for the currently processed cell should be supplied via the event handler. For this purpose retrieve a value from your data source based upon the current row and unbound column and assign it to the event’s CustomColumnDataEventArgs.Value parameter.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the IsSetData 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.