跨平台的 .NET UI框架

Max Katz e38edb258d Update XamlX (#15488) 1 vuosi sitten
.github affa733c65 Delete .github/ISSUE_TEMPLATE/feature_request.md 1 vuosi sitten
.ncrunch a32a8726a3 Fix ncrunch configuration. (#15440) 1 vuosi sitten
.nuke 462e4d1a74 Add OutputVersion nuke target (#14890) 1 vuosi sitten
Documentation d1ecf5c8bf Update build.md 1 vuosi sitten
api 7816f11858 Browser software renderer and some refactoring allowing multiple AvaloniaView instances (#15207) 1 vuosi sitten
build 8c7754ff17 SkiaSharp updates, SkiaSharp 3.0 render tests enabled (#15255) 1 vuosi sitten
native 7a7ab8e5f8 feat: Add API for fetching window Z-order (#14909) 1 vuosi sitten
nukebuild 59c4fdde86 Update BuildParameters.cs (#14993) 1 vuosi sitten
packages 6f7a003c31 Rename MobileSandbox to Avalonia.SingleProjectSandbox (#15330) 1 vuosi sitten
samples edb66a7720 ComboBox: support different DataTemplate for selected item. (#15420) 1 vuosi sitten
scripts 4dc87d6cbc update replace scripts. 5 vuotta sitten
src e38edb258d Update XamlX (#15488) 1 vuosi sitten
tests aa60e5d2f9 Fix binding related memory leaks (#15485) 1 vuosi sitten
.editorconfig 8a036140db Add AvsEnableDevWarningsNotAsErrors prop (#15106) 1 vuosi sitten
.gitattributes cd2b7530f5 Initial commit 12 vuotta sitten
.gitignore 0c0d4497ef Browser StaticWebAssets sdk support (#14225) 1 vuosi sitten
.gitmodules 7f27836bd2 fix: Missing remove Tmds.DBus.SourceGenerator submodule (#14867) 1 vuosi sitten
Avalonia.Desktop.slnf 299c16da55 Enhancement Allow unload AssemblyLoadContext which contains Avalonia content #13935 (#13974) 1 vuosi sitten
Avalonia.sln 8a036140db Add AvsEnableDevWarningsNotAsErrors prop (#15106) 1 vuosi sitten
Avalonia.sln.DotSettings b9ec339cfa Add Application.TryGetFeature, re-add new feature - IActivatableLifetime (#14556) 1 vuosi sitten
Avalonia.v3.ncrunchsolution a32a8726a3 Fix ncrunch configuration. (#15440) 1 vuosi sitten
CODE_OF_CONDUCT.md 614941c430 Fixed CoC contact method 5 vuotta sitten
CONTRIBUTING.md 8d3f9043a8 Update CONTRIBUTING.md (#12714) 2 vuotta sitten
Directory.Build.props 8a036140db Add AvsEnableDevWarningsNotAsErrors prop (#15106) 1 vuosi sitten
Directory.Build.targets e9519e2719 Fix NET8 build 2 vuotta sitten
NOTICE.md a78b0edd42 Changes after review 2 vuotta sitten
NuGet.Config eafaa6e584 remove legacy nuget feed no longer reachable. 2 vuotta sitten
azure-pipelines-integrationtests.yml 326ef7c9fd Add .NET 8 target (Avalonia 11.1) (#14535) 1 vuosi sitten
azure-pipelines.yml 4b1ca3811e Avalonia single project support (#9613) 1 vuosi sitten
build-native.sh 1986de1bf8 add some key mappings for osx 6 vuotta sitten
build.cmd 240b644650 Next try 3 vuotta sitten
build.ps1 240b644650 Next try 3 vuotta sitten
build.sh 240b644650 Next try 3 vuotta sitten
dirs.proj 6f7a003c31 Rename MobileSandbox to Avalonia.SingleProjectSandbox (#15330) 1 vuosi sitten
global.json 4b1ca3811e Avalonia single project support (#9613) 1 vuosi sitten
licence.md 2ab5f8b893 Revert "Update licence.md" 4 vuotta sitten
readme.md ed4a3e1119 Update readme.md (#14907) 1 vuosi sitten

readme.md

Star our repo to show support Header

Telegram Build Status Backers on Open Collective Sponsors on Open Collective GitHub Sponsors License
NuGet downloads Size

📖 About

Avalonia is a cross-platform UI framework for dotnet, providing a flexible styling system and supporting a wide range of platforms such as Windows, macOS, Linux, iOS, Android and WebAssembly. Avalonia is mature and production ready and is used by companies, including Schneider Electric, Unity, JetBrains and GitHub.

Considered by many to be the spiritual successor to WPF, Avalonia UI provides a familiar, modern development experience for XAML developers creating cross-platform applications. While Avalonia UI is similar to WPF, it isn't a 1:1 copy, and you'll find plenty of improvements.

For those seeking a cross-platform WPF, we have created Avalonia XPF, enabling WPF applications to run on macOS and Linux with little to no code changes. Avalonia XPF is a commercial product and is licensed per-app, per-platform.

Blog

To see the latest announcements and read about the state of Avalonia, check out the Avalonia UI Blog.

Breaking Changes

You can also see what breaking changes we have planned and what our past breaking changes have been.

Awesome Avalonia

Awesome Avalonia is community-curated list of awesome Avalonia UI tools, libraries, projects and resources. Go and see what people are building with Avalonia!

🚀 Getting Started

See our Get Started guide to begin developing apps with Avalonia UI.

Visual Studio

The Avalonia Visual Studio Extension contains project and control templates that will help you get started, or you can use the .NET Core CLI. For a starter guide see our documentation.

JetBrains Rider

JetBrains Rider now has official support for Avalonia.

Code completion, inspections and refactorings are supported out of the box, for XAML previewer add https://plugins.jetbrains.com/plugins/dev/14839 to plugin repositories and install AvaloniaRider plugin.

Avalonia Packages

Avalonia is delivered via NuGet package manager. You can find the packages here: https://www.nuget.org/packages/Avalonia/

Use these commands in the Package Manager console to install Avalonia manually:

Install-Package Avalonia
Install-Package Avalonia.Desktop

Showcase

Showcase_Banner

See what others have built with Avalonia UI on our Showcase. We welcome submissions!

Bleeding Edge Builds

We also have a nightly build which tracks the current state of master. Although these packages are less stable than the release on NuGet.org, you'll get all the latest features and bugfixes right away and many of our users actually prefer this feed!

Learning

Documentation

Documentation can be found at https://docs.avaloniaui.net.

Tutorials

We also have a tutorial over there for newcomers.

Samples

We have a range of samples to help you get started.

Building and Using

See the build instructions here.

Contributing

This project exists thanks to all the people who contribute.

Please read the contribution guidelines before submitting a pull request.

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.

Licence

Avalonia is licenced under the MIT licence.

Donate

Donating to the project is a fantastic way to thank our valued contributors for their hard work. Your donations are shared among our community and awarded for significant contributions.

If you need support see Commercial Support section below.

Donate with BTC or use Open Collective.

BTC: bc1q05wx78qemgy9x6ytl5ljk2xrt00yqargyjm8gx

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

Commercial Support

We have a range of support plans available for those looking to partner with the creators of Avalonia, enabling access to the best support at every step of the development process.

Please note that donations are not considered payment for commercial support agreements. Please contact us to discuss your needs first. [email protected]

.NET Foundation

This project is supported by the .NET Foundation.

Avalonia XPF

Unleash the full potential of your existing WPF apps with our cross-platform UI framework, enabling WPF apps to run on macOS and Linux without requiring expensive and risky rewrites.

GH_Banner