Trying to migrate from RadDragAndDropManager to DragDropManager.
Below is my existing code :
RadDragAndDropManager.AddDragQueryHandler(this.gvDocumentToAttach, OnDragQuery);
RadDragAndDropManager.AddDragInfoHandler(this.gvDocumentToAttach, this.OnDragInfo);
private void OnDragQuery(object sender, DragDropQueryEventArgs e)
{ e.QueryResult = true; e.Handled = true; }
private void OnDragInfo(object sender, DragDropEventArgs e) {
IEnumerable draggedItems = e.Options.Payload as IEnumerable;
if (e.Options.Status == DragStatus.DragInProgress)
{ TreeListViewDragCue cue = new TreeListViewDragCue();
cue.ItemsSource = draggedItems;
e.Options.DragCue = cue; } }
Wanted to know the corresponding options available in DragDropManager.