UWP.AutoScroller
0.2.2
dotnet add package UWP.AutoScroller --version 0.2.2
NuGet\Install-Package UWP.AutoScroller -Version 0.2.2
<PackageReference Include="UWP.AutoScroller" Version="0.2.2" />
paket add UWP.AutoScroller --version 0.2.2
#r "nuget: UWP.AutoScroller, 0.2.2"
// Install UWP.AutoScroller as a Cake Addin #addin nuget:?package=UWP.AutoScroller&version=0.2.2 // Install UWP.AutoScroller as a Cake Tool #tool nuget:?package=UWP.AutoScroller&version=0.2.2
AutoScroller
Auto-scrolls a UWP ScrollViewer when something is dragged against its edge.
Usage
Instantiate the AutoScroller with the target ScrollViewer. Set IsAutoScrollingEnabled to true to enable autoscrolling.
Set IsAutoScrollingEnabled to false before removing references to the AutoScroller. This will remove any event handlers that it set on the ScrollViewer.
Set AreTouchEventsHandled to true if you want it to respond to touch events. The default is false. Only do this if you have disabled the default ScrollViewer behaviour of panning in response to touch/drag interactions.
Set IsPointerCapturedOnPress to true if elements in the ScrollViewer don't already capture the pointer. This is false by default. Setting this to true while other pointer captures are active might interfere with the existing captures. This scenario has not been tested.
Change the speed of scrolling by setting ScrollPixelsPerTick. It is the number of pixels scrolled per tenth of a second when autoscrolling is occurring. The default value is 20.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
Universal Windows Platform | netcore50 is compatible. uap10.0.17763 is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Deactivate scrolling when autoscrolling is disabled.