WPF Image Slide with Animation

HoneyBee 186 Reputation points

I'm preparing an ImageViewer which is rather a bit unusual.

I have many images prepared in a specific folder.

when the program starts
Load the first one of these images
It is used as the background image of InkCanvas.

And while the user presses the Left or Right key on the keyboard, the image slides in the corresponding direction and the next image is called.

Images should slideshow (including animations) continuously sideways as long as the keyboard is held down.
When you finally release the keyboard (KeyUp), the slide stops.

I want to call the event that finally loads the image once again when the last slide is stopped (KeyUp).

Can you help me with some simple ideas and samples?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,560 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 79,921 Reputation points

    You can adapt the FlipView control (Flip view)
    Either with XAML Island to embed the original control or by using other versions from Google, like WPF FlipView

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful