wpf-devexpress-dot-xpf-dot-grid-dot-columndataeventargsbase-a4b4fe49.md
Gets whether a cell’s value should be saved to a data source.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public bool IsSetData { get; }
Public ReadOnly Property IsSetData As Boolean
| Type | Description |
|---|---|
| Boolean |
true if a cell’s value should be saved to a data source; otherwise, false.
|
To learn more, see GridControl.CustomUnboundColumnData.
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.
wpf-data-grid-change-background-color-for-modified-cells/CS/HighlightChangedCellBehavior.cs#L57
}
if (e.IsSetData)
modifiedCells[key] = (bool)e.Value;
}
if (e.IsSetData) {
targetProperty.SetValue(item, e.Value);
wpf-data-grid-change-background-color-for-modified-cells/VB/HighlightChangedCellBehavior.vb#L80
If e.IsSetData Then Me.modifiedCells(key) = CBool(e.Value)
End If
End If
If e.IsSetData Then
targetProperty.SetValue(item, e.Value)
See Also