How To Disable Inertia in ScatterView
Posted
by jack-amble
on Stack Overflow
See other posts from Stack Overflow
or by jack-amble
Published on 2010-06-04T22:38:23Z
Indexed on
2010/06/08
6:32 UTC
Read the original article
Hit count: 630
Using ScatterView control shipped in Windows Touch WPF. I want to prevent inertia from happening on a scatterview item. But I still want to allow user to move, scale and rotate the item.
So I try this...
ScatterviewItem svi = new ScatterviewItem();
svi.ManipulationDelta += OnManipulationDelta;
...
void OnManipulationDelta(object sender, ManipulationDeltaEventArgs args)
{
if (args.IsInertial)
{
args.Complete();
args.Handled = true;
}
}
But the event is never firing. Am I doing something wrong, or is there another way to do this, or is preventing inertia simply not possible with scatterview?
© Stack Overflow or respective owner