Merge pull request #352 from telerik/Nasko/datagrid-clear-dragvisual

Set the Content of the DataGrid's DragVisual to null in order to prev…
This commit is contained in:
Atanas Popatanasov 2018-12-13 17:12:11 +02:00 коммит произвёл GitHub
Родитель 17de78d78d ab862ea14d
Коммит 5258ce0739
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 8 добавлений и 6 удалений

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

@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using Windows.UI.Xaml;
namespace Telerik.UI.Xaml.Controls.Grid.Primitives
{
@ -40,5 +35,12 @@ namespace Telerik.UI.Xaml.Controls.Grid.Primitives
this.SetValue(FilterGlyphVisibilityProperty, value);
}
}
/// <inheritdoc />
protected override void OnUnloaded(object sender, RoutedEventArgs e)
{
base.OnUnloaded(sender, e);
this.Content = null;
}
}
}