AnimatedImage.Avalonia
1.0.3
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Core 3.1
This package targets .NET Core 3.1. The package is compatible with this framework or higher.
.NET Framework 4.6.2
This package targets .NET Framework 4.6.2. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package AnimatedImage.Avalonia --version 1.0.3
NuGet\Install-Package AnimatedImage.Avalonia -Version 1.0.3
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="AnimatedImage.Avalonia" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AnimatedImage.Avalonia --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AnimatedImage.Avalonia, 1.0.3"
#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 AnimatedImage.Avalonia as a Cake Addin #addin nuget:?package=AnimatedImage.Avalonia&version=1.0.3 // Install AnimatedImage.Avalonia as a Cake Tool #tool nuget:?package=AnimatedImage.Avalonia&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
A simple library to display animated GIF images and animated PNG images in WPF and AvaloniaUI, usable in XAML or in code.
How to use
It's very easy to use: in XAML, instead of setting the Source
property, set the AnimatedSource
attached property to the image you want:
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:anim="https://github.com/whistyun/AnimatedImage.Avalonia"
Title="MainWindow" Height="350" Width="525">
<Grid>
<Image anim:ImageBehavior.AnimatedSource="Images/animated.gif" />
You can also specify the repeat behavior (the default is 0x
, which means it will use the repeat count from the GIF metadata):
<Image anim:ImageBehavior.RepeatBehavior="3x"
anim:ImageBehavior.AnimatedSource="Images/animated.gif" />
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp3.1 is compatible. |
.NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- Avalonia (>= 11.0.0)
- SharpCompress (>= 0.33.0)
-
.NETFramework 4.6.2
- Avalonia (>= 11.0.0)
- SharpCompress (>= 0.33.0)
-
net6.0
- Avalonia (>= 11.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on AnimatedImage.Avalonia:
Repository | Stars |
---|---|
nor0x/Dots
the 🙂 friendly .NET SDK manager
|