wpf-devexpress-dot-xpf-dot-grid-dot-datacontrolbase-dot-refreshrow-x28-system-dot-int32-x29.md
Refreshes the specified row.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public void RefreshRow(
int rowHandle
)
Public Sub RefreshRow(
rowHandle As Integer
)
| Name | Type | Description |
|---|---|---|
| rowHandle | Int32 |
An integer value which identifies the row.
|
The RefreshRow method re-fetches the row (specified by its handle) from the data source. Refer to the following help topic for more information on row handles: Identify Rows and Cards.
The following code snippets (auto-collected from DevExpress Examples) contain references to the RefreshRow(Int32) method.
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-propertygrid-add-an-item-to-a-collection-or-a-dictionary/CS/MainWindow.xaml.cs#L16
var rowhandle = grid.GetSelectedRowHandles()[0];
grid.RefreshRow(rowhandle);
}
wpf-data-grid-extend-crud-operations/CS/Undo/UndoCRUDOperationsBehavior.cs#L117
editingCache = null;
AssociatedObject.DataControl.RefreshRow(AssociatedObject.DataControl.FindRow(item));
} catch(Exception ex) {
wpf-propertygrid-add-an-item-to-a-collection-or-a-dictionary/VB/MainWindow.xaml.vb#L18
Dim rowhandle = Me.grid.GetSelectedRowHandles()(0)
Me.grid.RefreshRow(rowhandle)
End Sub
wpf-data-grid-extend-crud-operations/VB/Undo/UndoCRUDOperationsBehavior.vb#L147
editingCache = Nothing
AssociatedObject.DataControl.RefreshRow(AssociatedObject.DataControl.FindRow(item))
Catch ex As Exception
See Also