Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public delegate DataGridUpdateDelegate(ref DataGrid datagrid);
- public static void DataGridUpdate(ref DataGrid datagrid)
- {
- datagrid.Items.Refresh();
- }
- private void MyDataGrid_Loaded(object sender, RoutedEventArgs e)
- {
- ...
- DataGridUpdateDelegate _tmpDelegate = DataGridUpdate;
- _tmpDelegate.BeginInvoke(ref MyDataGrid, nul, null);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement