Skip to content

Dragging a single item from a grouped datagrid will often return CollectionViewGroupInternal rather than the item #33

@punker76

Description

@punker76

Original author: [email protected] (March 30, 2011 22:46:28)

>What steps will reproduce the problem?

  1. I modified the DefaultsExample by adding a 'DataGrid with Groups' tab bound to the same GroupedCollectionViewSource as in the 'Listbox with groups' tab

>What is the expected output? What do you see instead?
Sometimes it would work as expected as it does in 'Listbox with Groups' but most of the time the dropInfo.Data was a CollectionViewGroupInternal instead of a GroupedItem which caused an exception. Dragging multiple items always worked after I modified Data.Drop.

I suspect the problem maybe the DataGrid itself.

>What version of the product are you using?
Latest from subversion

Original issue: http://code.google.com/p/gong-wpf-dragdrop/issues/detail?id=33

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions