lbrahim
lbrahim

Reputation: 3810

Dropping item between listviews animation

I have 2 ListView controls bound to 2 different ObservableCollection<string> like this:

<ListView x:Name="List1"
            Grid.Column="0"
            CanDragItems="True"
            CanReorderItems="True"
            AllowDrop="True"/>

<ListView x:Name="List2"
            Grid.Column="1"
            CanDragItems="True"
            CanReorderItems="True"
            AllowDrop="True"/>

When dragging and dropping items in their own respective lists I get the default animation like this:

enter image description here

But I cannot get the same animation when I hover over the second ListView. Why is that and how can I invoke the same animation in this case? I can handle what happens on drop but first I need to be able to invoke the same animation.

All current solution I have gone through does not have the animation or uses some other library/control to substitute for this. Any help or suggestion regarding this is appreciated.

Upvotes: 1

Views: 119

Answers (1)

Matt Lacey
Matt Lacey

Reputation: 65586

There is no default drop animation for a ListView. You'll need to create something yourself - or use a third party solution such as you report to have already found.

Upvotes: 1

Related Questions