Hi Team,
I am using following code to implement drag and drop the items with in the listbox. But in the same View i have GridView control. If i drag and drop the listboxitem into the GridView my item is deleted from the Listbox. I should restrict this. I am following MVVM pattern.
Please give me a solution.
My Code:
<drag:ListBoxDragDrop.Behavior>
<drag:ListBoxDragDropBehavior AllowReorder="True" ItemType="{x:Type Mod:Model}"></drag:ListBoxDragDropBehavior>
</drag:ListBoxDragDrop.Behavior> Thanks in Advance.
I am using following code to implement drag and drop the items with in the listbox. But in the same View i have GridView control. If i drag and drop the listboxitem into the GridView my item is deleted from the Listbox. I should restrict this. I am following MVVM pattern.
Please give me a solution.
My Code:
<drag:ListBoxDragDrop.Behavior>
<drag:ListBoxDragDropBehavior AllowReorder="True" ItemType="{x:Type Mod:Model}"></drag:ListBoxDragDropBehavior>
</drag:ListBoxDragDrop.Behavior> Thanks in Advance.