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
<PackageReference Include="Egolds.Avalonia.Xaml.Interactions.Animated" Version="11.2.0" />
paket add Egolds.Avalonia.Xaml.Interactions.Animated --version 11.2.0
#r "nuget: Egolds.Avalonia.Xaml.Interactions.Animated, 11.2.0"
// 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.
Dependencies
This library depends on the Avalonia.Xaml.Interactivity
package. Make sure you have it installed in your project:
- NuGet Package: Avalonia.Xaml.Interactivity v11.2.0
- GitHub Repository: AvaloniaUI/Avalonia.Xaml.Behaviors
Installation
Currently, Avalonia.Xaml.Interactions.Animated
is not available via NuGet. To use it in your project, follow these steps:
- Download the
.dll
file from the Releases section of this repository. - 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 | Versions 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. |
-
net8.0
- Avalonia (>= 11.2.0)
- Avalonia.Xaml.Interactivity (>= 11.2.0)
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 | 78 | 11/11/2024 |