Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag&Drop doesn't working on treeview subitems #65

Closed
reediska opened this issue Jun 21, 2013 · 2 comments
Closed

Drag&Drop doesn't working on treeview subitems #65

reediska opened this issue Jun 21, 2013 · 2 comments
Labels

Comments

@reediska
Copy link

If I manually add a treeitem having ItemsSource binding and create an item template for its children, the drag handler works only on the parent tree item, but not on its children.

Here is the source code:

<TreeView dd:DragDrop.IsDropTarget="True" dd:DragDrop.IsDragSource="True">
    <TreeViewItem Header="Groups" ItemsSource="{Binding Groups}">
        <TreeViewItem.ItemTemplate>
            <HierarchicalDataTemplate>
                <StackPanel >
                     ......
                </StackPanel>
            </HierarchicalDataTemplate>
        </TreeViewItem.ItemTemplate>
    </TreeViewItem>
</TreeView>
punker76 added a commit that referenced this issue Jun 21, 2013
@punker76
Copy link
Owner

@reediska Which version you are using? I have tested your example with the latest 0.1.3.7 and all works fine.

@reediska
Copy link
Author

I'm using the 0.1.3.7 and I already found my problem: I use a TextBox inside of my HierarchicalDataTemplate which prevents drag handling. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants