跨平台的 .NET UI框架

Max Katz d3fb8dee89 Build fixes 2 rokov pred
.github 3f4034f0ca add github sponsors 3 rokov pred
.ncrunch d2bc8a09c9 Update ncrunch config. 2 rokov pred
.nuke c35259dc3f Run generators tests on CI 2 rokov pred
Documentation 848ca76216 Update build instructions. 3 rokov pred
build dbc3c802a3 Add Analyzers project to the main package 2 rokov pred
native 8a9607d5fe Merge pull request #10691 from AvaloniaUI/feature/wpf-like-dispatcher 2 rokov pred
nukebuild fa6fb50620 Merge branch 'master' into move-name-generator 2 rokov pred
packages dbc3c802a3 Add Analyzers project to the main package 2 rokov pred
samples d3fb8dee89 Build fixes 2 rokov pred
scripts 4dc87d6cbc update replace scripts. 5 rokov pred
src d3fb8dee89 Build fixes 2 rokov pred
tests 8b4fe1e13a Merge remote-tracking branch 'origin/master' into refactor/other-controls-itemssource 2 rokov pred
.editorconfig ad96c64aa2 Mark Avalonia Analyzers as errors 2 rokov pred
.gitattributes cd2b7530f5 Initial commit 12 rokov pred
.gitignore 117631d0ef Update .gitignore 2 rokov pred
.gitmodules 240b644650 Next try 3 rokov pred
Avalonia.Desktop.slnf 0b20b8e90f Merge remote-tracking branch 'origin/master' into feature/wpf-like-dispatcher 2 rokov pred
Avalonia.sln dbc3c802a3 Add Analyzers project to the main package 2 rokov pred
Avalonia.sln.DotSettings fcece1a215 DotSettings: enable XAML highlighting 4 rokov pred
Avalonia.v3.ncrunchsolution 1cc569472e Fix ncrunch. 5 rokov pred
CODE_OF_CONDUCT.md 614941c430 Fixed CoC contact method 5 rokov pred
CONTRIBUTING.md c9df7ae46e Update CONTRIBUTING.md 3 rokov pred
Directory.Build.props 876fa08812 move to a consistent langversion of 11 2 rokov pred
Directory.Build.targets 79e2d44005 Only use scoped keyword when building with .NET 7 SDK 3 rokov pred
NOTICE.md a78b0edd42 Changes after review 2 rokov pred
NuGet.Config cab213cce2 use eap release of skiasharp compatible with sdk 6.0.201/202+ 3 rokov pred
Settings.StyleCop a833a5e883 Stylecop fixes. 11 rokov pred
azure-pipelines-integrationtests.yml 989e45428a always kill testmanagerd 2 rokov pred
azure-pipelines.yml d3f329cde3 Merge remote-tracking branch 'upstream/master' into move-sdk-to-7.0.101 2 rokov pred
build-native.sh 1986de1bf8 add some key mappings for osx 6 rokov pred
build.cmd 240b644650 Next try 3 rokov pred
build.ps1 240b644650 Next try 3 rokov pred
build.sh 240b644650 Next try 3 rokov pred
dirs.proj 8918b8892b Exclude iOS, Android and Web samples from CI build 3 rokov pred
global.json e049313e7a Microsoft.Build.Traversal 3.2.0 2 rokov pred
licence.md 2ab5f8b893 Revert "Update licence.md" 4 rokov pred
readme.md 6e1ea38bf0 Add Allert Pausing community contributions 2 rokov pred

readme.md

GH_Banner

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

⚠️ v11 Update - Pausing community contributions

for more information see this discussion.

📖 About

Avalonia is a cross-platform UI framework for dotnet, providing a flexible styling system and supporting a wide range of Operating Systems such as Windows, Linux, macOS. Avalonia is mature and production ready. We also have in beta release support for iOS, Android and in early stages support for browser via WASM.

image

To see the status of some of our features, please see our Roadmap. You can also see what breaking changes we have planned and what our past breaking changes have been. 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

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.

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

Examples of UIs built with Avalonia (Lunacy)

image (PlasticSCM)

image (WasabiWallet)

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.

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!

Documentation

Documentation can be found at https://docs.avaloniaui.net. We also have a tutorial over there for newcomers.

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.