int
selectIndex
=
dgExport.SelectedIndex;
ICollectionView view = (ICollectionView)CollectionViewSource.GetDefaultView(dgExport.ItemsSource);
List < Export > items = new List < Export > ();
items = (List < Export > )view.SourceCollection;
items.RemoveAt(selectIndex);
dgExport.Items.Refresh();
ICollectionView view = (ICollectionView)CollectionViewSource.GetDefaultView(dgExport.ItemsSource);
List < Export > items = new List < Export > ();
items = (List < Export > )view.SourceCollection;
items.RemoveAt(selectIndex);
dgExport.Items.Refresh();