Set the Content of the DataGrid's DragVisual to null in order to prevent throwing COMException.

This commit is contained in:
APopatanasov 2018-12-03 18:56:15 +02:00
Родитель 17de78d78d
Коммит d1ceb952d4
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -40,5 +40,11 @@ namespace Telerik.UI.Xaml.Controls.Grid.Primitives
this.SetValue(FilterGlyphVisibilityProperty, value);
}
}
protected override void OnUnloaded(object sender, RoutedEventArgs e)
{
base.OnUnloaded(sender, e);
this.Content = null;
}
}
}