Egolds.Avalonia.Xaml.Interactions.Animated 11.2.0

dotnet add package Egolds.Avalonia.Xaml.Interactions.Animated --version 11.2.0                
NuGet\Install-Package Egolds.Avalonia.Xaml.Interactions.Animated -Version 11.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Egolds.Avalonia.Xaml.Interactions.Animated" Version="11.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Egolds.Avalonia.Xaml.Interactions.Animated --version 11.2.0                
#r "nuget: Egolds.Avalonia.Xaml.Interactions.Animated, 11.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Egolds.Avalonia.Xaml.Interactions.Animated as a Cake Addin
#addin nuget:?package=Egolds.Avalonia.Xaml.Interactions.Animated&version=11.2.0

// Install Egolds.Avalonia.Xaml.Interactions.Animated as a Cake Tool
#tool nuget:?package=Egolds.Avalonia.Xaml.Interactions.Animated&version=11.2.0                

Avalonia.Xaml.Interactions.Animated

Avalonia.Xaml.Interactions.Animated is a simple library for Avalonia UI that introduces smooth animation support for vertical scrolling in the ScrollViewer. This library adds a smooth scroll effect to improve the user experience, especially for content with a lot of scrolling.

Demo Animation

Dependencies

This library depends on the Avalonia.Xaml.Interactivity package. Make sure you have it installed in your project:

Installation

Currently, Avalonia.Xaml.Interactions.Animated is not available via NuGet. To use it in your project, follow these steps:

  1. Download the .dll file from the Releases section of this repository.
  2. Add the .dll file to your project references manually.

Usage

To use VerticalScrollViewerAnimatedBehavior in your .axaml files, follow these steps:

Step 1: Add the Namespace

Include the namespace in your .axaml file:

xmlns:ia="using:Avalonia.Xaml.Interactions.Animated"

Step 2: Attach the Behavior

The animation effect is very easy to apply. Simply add <ia:VerticalScrollViewerAnimatedBehavior/> to the Interaction.Behaviors collection of your ScrollViewer:

<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Hidden">
  <Interaction.Behaviors>
    <ia:VerticalScrollViewerAnimatedBehavior/>
  </Interaction.Behaviors>
  
  
</ScrollViewer>

License

This project is licensed under the MIT License.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
11.2.0 85 11/11/2024