wpf-devexpress-dot-xpf-dot-grid-dot-dataviewbase-b94ff787.md
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public bool IsDataSourceRefreshing { get; }
Public ReadOnly Property IsDataSourceRefreshing As Boolean
| Type |
|---|
| Boolean |
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsDataSourceRefreshing 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-extend-crud-operations/CS/Undo/UndoCRUDOperationsBehavior.cs#L75
bool CanUndo() {
return undoAction != null && !AssociatedObject.IsEditing && !isNewItemRowEditing && !AssociatedObject.IsDataSourceRefreshing;
}
wpf-data-grid-extend-crud-operations/VB/Undo/UndoCRUDOperationsBehavior.vb#L102
Private Function CanUndo() As Boolean
Return undoAction IsNot Nothing AndAlso Not AssociatedObject.IsEditing AndAlso Not isNewItemRowEditing AndAlso Not AssociatedObject.IsDataSourceRefreshing
End Function
See Also