Note that there are some explanatory texts on larger screens.

plurals
  1. POxaml Scrollviewer - Disable Overscrolling / rubber-band-effect / snapback-effect / bouncing of whole window
    text
    copied!<p>When I'm using the a scrollviewer in a listbox, my whole window is bouncing when I reach the end of the listbox via <strong>touch scrolling</strong>. This behavior <strong>does not appear</strong> when I use my mouse wheel. How can I disable this overscrolling/ rubber-band-effect / snap-back-effect /bouncing effect. </p> <p>I'm working with .NET Framework 4.5 on a Windows 8 Computer.</p> <p>You can see the bounce effect on this video: <a href="http://www.vidup.de/v/gQ2pI/" rel="noreferrer">http://www.vidup.de/v/gQ2pI/</a></p> <p>Here is my example code:</p> <pre><code>&lt;Window x:Class="style_test_for_scrollviewer.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525"&gt; &lt;Grid&gt; &lt;ListBox Width="200"&gt; &lt;WrapPanel Width="200" ScrollViewer.PanningMode="VerticalOnly" ScrollViewer.CanContentScroll="True" ScrollViewer.VerticalScrollBarVisibility="Visible"&gt; &lt;Button Height="200" Width="200"&gt;&lt;/Button&gt; &lt;Button Height="200" Width="200"&gt;&lt;/Button&gt; &lt;Button Height="200" Width="200"&gt;&lt;/Button&gt; &lt;Button Height="200" Width="200"&gt;&lt;/Button&gt; &lt;Button Height="200" Width="200"&gt;&lt;/Button&gt; &lt;Button Height="200" Width="200"&gt;&lt;/Button&gt; &lt;Button Height="200" Width="200"&gt;&lt;/Button&gt; &lt;Button Height="200" Width="200"&gt;&lt;/Button&gt; &lt;Button Height="200" Width="200"&gt;&lt;/Button&gt; &lt;Button Height="200" Width="200"&gt;&lt;/Button&gt; &lt;Button Height="200" Width="200"&gt;&lt;/Button&gt; &lt;Button Height="200" Width="200"&gt;&lt;/Button&gt; &lt;/WrapPanel&gt; &lt;/ListBox&gt; &lt;/Grid&gt; &lt;/Window&gt; </code></pre>
 

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