Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>All you need is a <a href="http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/ad8ac469-0992-4cbb-856d-ca8a9d5fdf69/" rel="nofollow noreferrer">fullscreen WPF application</a></p> <p>that has two stacked images:</p> <pre><code>&lt;Window&gt; &lt;Grid&gt; &lt;Image ... MouseMove="..."&gt; &lt;Image.RenderTransform&gt; &lt;TranslateTransform /&gt; &lt;/Image.RenderTransform&gt; &lt;/Image&gt; &lt;Image .../&gt; &lt;/Grid&gt; &lt;/Window&gt; </code></pre> <p>and an animation that is started when the mouse moves above the top image:</p> <pre><code>&lt;Storyboard&gt; &lt;DoubleAnimation To="768" Duration="0:00:10" Storyboard.TargetName="translation" Storyboard.TargetProperty="OffsetY"/&gt; &lt;/Storyboard&gt; </code></pre> <p>Of course you can use a behavior instead of an eventhandler.</p> <p>(There could be errors in this code as I didn't test it)</p> <p><strong>EDIT</strong></p> <p>More on the added information in the question:</p> <p>Yes this can be done. There are lots of references to <a href="https://stackoverflow.com/search?q=make%20a%20screenshot">taking screenshots here on SO</a>.</p> <p><a href="http://bloggingabout.net/blogs/egiardina/archive/2010/11/23/adding-swipe-functionality-to-wpf-applications.aspx" rel="nofollow noreferrer">Using touch and swipes can be done with WPF</a>.</p> <p>If you want this logic to be available system wide you will have to <a href="http://blogs.msdn.com/b/toub/archive/2006/05/03/589468.aspx" rel="nofollow noreferrer">install a mouse/touch hook</a> so you will be able to respond to this gesture from with any application. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload