Export to GitHub

gong-wpf-dragdrop - issue #32

itemscontrol datatemplate usercontrol error


Posted on Feb 23, 2011 by Massive Giraffe

What steps will reproduce the problem? 1. from the codeproject demo, i changed the listbox to itemscontrol 2. added a datatemplate with usercontrol root 3. in DragInfo.ctor itemParent remains null

Attachments

Comment #1

Posted on Jan 13, 2012 by Massive Bird

I had an ItemsControl as well, but gong requires a SelectedItem property so it won't work. We have to use a ListBox instead.

Comment #2

Posted on Jan 19, 2013 by Grumpy Kangaroo

I have a ListView whose View is a GridView. Within the ListView rows there is a GridViewColumn.CellTemplate consisting of a DataTemplate set to which picks up a DataTemplate specific to the item class. That template contains a RichTextBox.

Dragging over that cell also causes itemParent to remain null in the DragInfo constructor.

Status: New

Labels:
Type-Defect Priority-Medium