Hi
I'd like to customize the Carousel. I'm using the Coverflow example, version 2009.3.1103.35, .NET 3.5 SP1, Vista x64 and VS 2008.
What I'm trying to achieve here is a smoother animation than the default per-element animation. So currently to move you can either click on an image/control within the carouselpanel or scroll using the scrollviewer. I want to make this smoother (think iPhone scrolling) by preventing image clicking and relaying the mouse move delta to the scrollviewer.
So I'm handling the coverflow control's mouse left click event (and set Handled to True) to set a reference point and prevent clicks reaching the images. Then I'm handling the mouse move event and retrieving the delta by subtracting destination and source X from the two MouseEventArgs provided by the event.
How can I relay this delta (of type double) to the scrollviewer (incrementally) to simulate this effect? I'm guessing the control's ScrollOwner property may play a role, but I would like your input on this. Could I perhaps use the RaiseEvent method?
Thanks
I'd like to customize the Carousel. I'm using the Coverflow example, version 2009.3.1103.35, .NET 3.5 SP1, Vista x64 and VS 2008.
What I'm trying to achieve here is a smoother animation than the default per-element animation. So currently to move you can either click on an image/control within the carouselpanel or scroll using the scrollviewer. I want to make this smoother (think iPhone scrolling) by preventing image clicking and relaying the mouse move delta to the scrollviewer.
So I'm handling the coverflow control's mouse left click event (and set Handled to True) to set a reference point and prevent clicks reaching the images. Then I'm handling the mouse move event and retrieving the delta by subtracting destination and source X from the two MouseEventArgs provided by the event.
How can I relay this delta (of type double) to the scrollviewer (incrementally) to simulate this effect? I'm guessing the control's ScrollOwner property may play a role, but I would like your input on this. Could I perhaps use the RaiseEvent method?
Thanks