corelibraries-devexpress-dot-data-dot-unboundcolumndataeventargs-9dbf4496.md
Gets whether a cell value changed and data needs to be posted to a data source.
Namespace : DevExpress.Data
Assembly : DevExpress.Data.v25.2.dll
NuGet Package : DevExpress.Data
public bool IsSetData { get; }
Public ReadOnly Property IsSetData As Boolean
| Type | Description |
|---|---|
| Boolean |
true if a user modified the cell value; 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 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.
winforms-grid-create-populate-unbound-column/CS/WindowsApplication1/Form1.cs#L49
e.Value = _Cache.GetValue(e.Row);
if (e.IsSetData)
_Cache.SetValue(e.Row, e.Value);
winforms-grid-display-icons-in-data-cells/CS/Form1.cs#L231
private void GridView1_CustomUnboundColumnData(object sender, DevExpress.XtraGrid.Views.Base.CustomColumnDataEventArgs e) {
if (e.IsSetData)
return;
winforms-grid-add-radio-group-column/CS/Helper/GridRadioGroupColumnHelper.cs#L78
e.Value = e.ListSourceRowIndex == SelectedDataSourceRowIndex;
if (e.IsSetData)
if (e.Value.Equals(true))
winforms-grid-popupcontaineredit-with-dynamic-content/CS/Q148684/Form1.cs#L67
e.Value = unboundData[e.ListSourceRowIndex];
else if (e.IsSetData)
unboundData[e.ListSourceRowIndex] = (bool)e.Value;
winforms-grid-create-populate-unbound-column/VB/WindowsApplication1/Form1.vb#L46
If e.IsGetData Then e.Value = _Cache.GetValue(e.Row)
If e.IsSetData Then _Cache.SetValue(e.Row, e.Value)
End Sub
winforms-grid-display-icons-in-data-cells/VB/Form1.vb#L204
Private Sub GridView1_CustomUnboundColumnData(ByVal sender As Object, ByVal e As Views.Base.CustomColumnDataEventArgs)
If e.IsSetData Then Return
Dim view As GridView = TryCast(sender, GridView)
winforms-grid-add-radio-group-column/VB/Helper/GridRadioGroupColumnHelper.vb#L78
End If
If e.IsSetData Then
If e.Value.Equals(True) Then
winforms-grid-popupcontaineredit-with-dynamic-content/VB/Q148684/Form1.vb#L70
e.Value = unboundData(e.ListSourceRowIndex)
ElseIf e.IsSetData Then
unboundData(e.ListSourceRowIndex) = CBool(e.Value)
See Also
UnboundColumnDataEventArgs.IsGetData
UnboundColumnDataEventArgs Class