![]() |
VOOZH | about |
dotnet add package AsyncImageLoader.Avalonia --version 3.8.0
NuGet\Install-Package AsyncImageLoader.Avalonia -Version 3.8.0
<PackageReference Include="AsyncImageLoader.Avalonia" Version="3.8.0" />
<PackageVersion Include="AsyncImageLoader.Avalonia" Version="3.8.0" />Directory.Packages.props
<PackageReference Include="AsyncImageLoader.Avalonia" />Project file
paket add AsyncImageLoader.Avalonia --version 3.8.0
#r "nuget: AsyncImageLoader.Avalonia, 3.8.0"
#:package AsyncImageLoader.Avalonia@3.8.0
#addin nuget:?package=AsyncImageLoader.Avalonia&version=3.8.0Install as a Cake Addin
#tool nuget:?package=AsyncImageLoader.Avalonia&version=3.8.0Install as a Cake Tool
Provides way to asynchronous bitmap loading for Avalonia Image control.
Features:
AsyncImageLoader.Avalonia nuget packagedotnet add package AsyncImageLoader.Avalonia
Note: The first time you will need to import the AsyncImageLoader namespace to your xaml file. Usually your IDE should suggest it automatically. The root element in the file will be like this:
<Window ...
xmlns:asyncImageLoader="clr-namespace:AsyncImageLoader;assembly=AsyncImageLoader.Avalonia"
...>
Note: Assets and resources in Avalonia described here.
The only thing you need to do in your xaml is to replace the Source property in Image with ImageLoader.Source.
For example, your old code:
<Image Source="https://mycoolwebsite.io/image.jpg" />
Should turn into:
<Image asyncImageLoader:ImageLoader.Source="https://mycoolwebsite.io/image.jpg" />
Also you can use ImageLoader.IsLoading readonly attached property that indicates whether the load is in progress or not.
AsyncImageLoader support resm: and avares: links.
And does not support relative referenced assets such as Source="icon.png" or Source="/icon.png". Use AdvancedImage control.
This control provides all capabilities of ImageLoader attached property and support relative referenced assets such as Source="icon.png" or Source="/icon.png".
Before you go, add following style to you App.xaml file and Application.Styles section:
<StyleInclude Source="avares://AsyncImageLoader.Avalonia/AdvancedImage.axaml" />
And you can use AdvancedImage as any other control:
<asyncImageLoader:AdvancedImage Width="150" Height="150" Source="../Assets/cat4.jpg" />
This control allows specifying a custom IAsyncImageLoader for particular control.
Also, this control has loading indicator support out of the box.
If you need a brush you can use Avalonia's ImageBrush with ImageBrushLoader.Source property (instead of default Source). It will look like that:
<Border>
<Border.Background>
<ImageBrush
asyncImageLoader:ImageBrushLoader.Source="https://mycoolwebsite.io/image.jpg" />
</Border.Background>
</Border>
ImageLoader will use instance of IImageLoader for serving your requests.
You can change the loader used by setting new one to the ImageLoader.AsyncImageLoader property. Do not forget to Dispose previous loader.
There are several loaders available out of the box:
RamCachedWebImageLoader are used by default.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on AsyncImageLoader.Avalonia:
| Package | Downloads |
|---|---|
|
ClassIsland.Core
ClassIsland 应用核心依赖库,包括 ClassIsland 封装的一些常用控件和方法。 |
|
|
SuppaWallet.Gui
Package Description |
|
|
Huskui.Avalonia.Markdown
Markdown rendering extension for Huskui.Avalonia, converting Markdown text to native Avalonia controls using Markdig. |
|
|
Pwa.Stories
is similar like Instagram Stories |
|
|
SuppaWallet.Gui.Desktop
Package Description |
Showing the top 20 popular GitHub repositories that depend on AsyncImageLoader.Avalonia:
| Repository | Stars |
|---|---|
|
Tyrrrz/YoutubeDownloader
Downloads videos and playlists from YouTube
|
|
|
Tyrrrz/DiscordChatExporter
Saves Discord chat logs to a file
|
|
|
LykosAI/StabilityMatrix
Multi-Platform Package Manager for Stable Diffusion
|
|
|
PixiEditor/PixiEditor
PixiEditor is a Universal Editor for all your 2D needs
|
|
|
Jeric-X/SyncClipboard
跨平台剪贴板同步、历史记录管理工具 / Cross-platform cipboard syncing, history management tool
|
|
|
Tyrrrz/YoutubeExplode
Abstraction layer over YouTube's internal API
|
|
|
ClassIsland/ClassIsland
一款功能强、可定制、跨平台,适用于班级多媒体屏幕的课表信息显示工具,可以一目了然地显示各种信息。
|
|
|
b-editor/beutl
Cross-platform video editing (compositing) software.
|
|
|
Artemis-RGB/Artemis
Provides advanced unified lighting across many different brands RGB peripherals
|
|
|
Decimation/SmartImage
Reverse image search tool (SauceNao, IQDB, Ascii2D, trace.moe, and more)
|
|
|
SnapXL/SnapX
SnapX is a free, open-source, cross-platform tool that lets you capture or record any area of your screen and instantly share it with a single keypress. Upload images, videos, text, and more to multiple supported destinations—all with ease. ShareX fork
|
|
|
SirDiabo/GithubLauncher
A Launcher that Downloads and Updates Applications from Github Releases
|
|
|
rocksdanister/weather
Windows native weather app powered by DirectX12 animations
|
|
|
dorisoy/Dorisoy.Pan
Dorisoy.Pan 是基于 .NET 10 的跨平台文档管理系统,使用 MS SQL 2012 / MySQL 8.0(或更高版本)后端数据库,您可以在 Windows、Linux 或 Mac 上运行它。项目中的所有方法都是异步的,支持 JWT 令牌身份验证,项目体系结构遵循 CQRS + MediatR 模式和最佳安全实践。源代码完全可定制,热插拔且清晰的体系结构,使开发定制功能和遵循任何业务需求变得容易。
|
|
|
HeyM1ke/Assist
C# Valorant Thirdparty Launcher
|
|
|
h4lfheart/FortnitePorting
The quickest and most efficient way to extract assets from Fortnite
|
|
| EllyVR/VRCVideoCacher | |
|
tiouoo/YMCL.Avalonia
Yu Minecraft Launcher · YMCL !
|
|
|
Linsxyx/KugouMusic.NET
最好用最轻量的第三方酷狗概念版音乐播放器
|
|
| TradeOnSolutions/Steam-Desktop-Authenticator |
| Version | Downloads | Last Updated |
|---|---|---|
| 3.8.0 | 7,641 | 4/19/2026 |
| 3.7.1-nightly.0.1 | 61 | 4/19/2026 |
| 3.7.0 | 19,477 | 3/2/2026 |
| 3.6.0 | 18,702 | 2/1/2026 |
| 3.5.0 | 9,993 | 12/27/2025 |
| 3.4.4 | 1,165 | 12/21/2025 |
| 3.4.3 | 24,568 | 9/14/2025 |
| 3.4.2 | 1,556 | 9/13/2025 |
| 3.4.1 | 442 | 9/13/2025 |
| 3.4.0 | 823 | 9/10/2025 |
| 3.3.0 | 111,716 | 8/17/2024 |
| 3.2.1 | 41,796 | 9/26/2023 |
| 3.2.1-rc1 | 245 | 9/23/2023 |
| 3.2.0 | 3,553 | 8/8/2023 |
| 3.1.0 | 527 | 7/30/2023 |
| 3.0.0 | 925 | 7/17/2023 |
| 3.0.0-avalonia11-preview6 | 949 | 6/1/2023 |
| 3.0.0-avalonia11-preview5 | 334 | 5/27/2023 |
## What's Changed
* Avalonia 12 support by @TemuWolverine in https://github.com/AvaloniaUtils/AsyncImageLoader.Avalonia/pull/44
**Full Changelog**: https://github.com/AvaloniaUtils/AsyncImageLoader.Avalonia/compare/v3.7.0...v3.8.0