corelibraries-devexpress-dot-data-dot-unboundcolumndataeventargs-3a0aa342.md
Gets or sets a cell value in an unbound column.
Namespace : DevExpress.Data
Assembly : DevExpress.Data.v25.2.dll
NuGet Package : DevExpress.Data
public object Value { get; set; }
Public Property Value As Object
| Type | Description |
|---|---|
| Object |
A cell value in an unbound column.
|
Read the following help topic for additional information: Tutorial - Unbound Columns.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Value 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-create-populate-unbound-column/CS/WindowsApplication1/Form1.cs#L48
if (e.IsGetData)
e.Value = _Cache.GetValue(e.Row);
if (e.IsSetData)
winforms-grid-multiple-row-selection-web-style-checkboxes/CS/E1271/CheckMarkSelection.cs#L201
if(e.IsGetData)
e.Value = IsRowSelected(View.GetRowHandle(e.ListSourceRowIndex));
else
winforms-grid-tokenedit-in-unbound-column/CS/Form1.cs#L72
}
e.Value = ids;
} else {
winforms-grid-popupcontaineredit-with-dynamic-content/CS/Q148684/Form1.cs#L66
if (e.IsGetData)
e.Value = unboundData[e.ListSourceRowIndex];
else if (e.IsSetData)
winforms-grid-display-pictures-from-field-with-image-paths/CS/Form1.cs#L244
}
e.Value = Images[fileName];
}
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-grid-multiple-row-selection-web-style-checkboxes/VB/E1271/CheckMarkSelection.vb#L234
If e.IsGetData Then
e.Value = IsRowSelected(View.GetRowHandle(e.ListSourceRowIndex))
Else
winforms-grid-tokenedit-in-unbound-column/VB/Form1.vb#L69
e.Value = ids
Else
winforms-grid-popupcontaineredit-with-dynamic-content/VB/Q148684/Form1.vb#L69
If e.IsGetData Then
e.Value = unboundData(e.ListSourceRowIndex)
ElseIf e.IsSetData Then
winforms-grid-display-pictures-from-field-with-image-paths/VB/Form1.vb#L233
e.Value = Images(fileName)
End If
See Also
UnboundColumnDataEventArgs.ValueType
UnboundColumnDataEventArgs Class