corelibraries-devexpress-dot-data-dot-unboundcolumndataeventargs.md
Gets whether the column/row needs to be populated with cell values.
Namespace : DevExpress.Data
Assembly : DevExpress.Data.v25.2.dll
NuGet Package : DevExpress.Data
public bool IsGetData { get; }
Public ReadOnly Property IsGetData As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the cell is about to be populated; otherwise, false.
|
Read the following help topic for additional information: Tutorial - Unbound Columns.
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.
winforms-grid-display-pictures-from-field-with-image-paths/CS/Form1.cs#L229
private void gridView1_CustomUnboundColumnData(object sender, DevExpress.XtraGrid.Views.Base.CustomColumnDataEventArgs e) {
if(e.Column.FieldName == "Image" && e.IsGetData) {
GridView view = sender as GridView;
winforms-grid-show-error-icons/CS/Form1.cs#L67
{
if (e.IsGetData) e.Value = e.ListSourceRowIndex;
}
winforms-grid-create-populate-unbound-column/CS/WindowsApplication1/Form1.cs#L47
{
if (e.IsGetData)
e.Value = _Cache.GetValue(e.Row);
winforms-charts-show-chart-legend-with-markers-in-separate-control/CS/Form1.cs#L83
{
if (e.IsGetData && e.Column == colImage)
{
winforms-grid-customize-data-aware-export-output/CS/GridDataAwareExportCustomization/Form1.cs#L32
if(e.Column == categoryName)
if(e.IsGetData) {
int id = (int)view.GetListSourceRowCellValue(e.ListSourceRowIndex, colCategoryID);
winforms-grid-display-pictures-from-field-with-image-paths/VB/Form1.vb#L218
Private Sub gridView1_CustomUnboundColumnData(ByVal sender As Object, ByVal e As DevExpress.XtraGrid.Views.Base.CustomColumnDataEventArgs)
If Equals(e.Column.FieldName, "Image") AndAlso e.IsGetData Then
Dim view As GridView = TryCast(sender, GridView)
winforms-grid-show-error-icons/VB/Form1.vb#L74
Private Sub gridView1_CustomUnboundColumnData(ByVal sender As Object, ByVal e As DevExpress.XtraGrid.Views.Base.CustomColumnDataEventArgs) Handles gridView1.CustomUnboundColumnData
If e.IsGetData Then
e.Value = e.ListSourceRowIndex
winforms-grid-create-populate-unbound-column/VB/WindowsApplication1/Form1.vb#L45
Private Sub gridView1_CustomUnboundColumnData(ByVal sender As Object, ByVal e As DevExpress.XtraGrid.Views.Base.CustomColumnDataEventArgs)
If e.IsGetData Then e.Value = _Cache.GetValue(e.Row)
If e.IsSetData Then _Cache.SetValue(e.Row, e.Value)
winforms-charts-show-chart-legend-with-markers-in-separate-control/VB/Form1.vb#L77
Private Sub gridView1_CustomUnboundColumnData(ByVal sender As Object, ByVal e As DevExpress.XtraGrid.Views.Base.CustomColumnDataEventArgs)
If e.IsGetData AndAlso e.Column Is colImage Then
e.Value = legendMarkersTable(CType(e.Row, Series))
winforms-grid-customize-data-aware-export-output/VB/GridDataAwareExportCustomization/Form1.vb#L33
If e.Column Is categoryName Then
If e.IsGetData Then
Dim id As Integer = CInt(view.GetListSourceRowCellValue(e.ListSourceRowIndex, colCategoryID))
See Also
UnboundColumnDataEventArgs.IsSetData
UnboundColumnDataEventArgs Class