跨平台的 .NET UI框架

Ge 62597de97c Add support for parsing BoxShadows with color functions (#20321) há 2 dias atrás
.github 2b6c3b6d5d Update bug_report.yml (#18711) há 8 meses atrás
.ncrunch fb5121a42f Null conditional operator in bindings (#18270) há 9 meses atrás
.nuke 37526dc904 Fix dnx random failures (#20284) há 1 semana atrás
api 1ae9694f78 Use androidx lib for backpressed callback (#20291) há 1 semana atrás
build ce0a1c6b3e Update dependencies (#20139) há 1 semana atrás
docs f616545408 Remove obsolete projects from solution filter file (#20178) há 3 semanas atrás
external fb0f3848f9 Update to .NET 10 (#19869) há 1 mês atrás
native 367d8b293b [Avalonia.Native] Use relative placement for detecting drag and drop locations. (#20280) há 1 semana atrás
nukebuild ce0a1c6b3e Update dependencies (#20139) há 1 semana atrás
packages 40a3af4aa5 Remove netstandard2.0 from almost all projects (#20111) há 1 mês atrás
samples 64b63fa5d2 Fix common warnings (#20311) há 6 dias atrás
scripts 4dc87d6cbc update replace scripts. há 5 anos atrás
src 62597de97c Add support for parsing BoxShadows with color functions (#20321) há 2 dias atrás
tests 62597de97c Add support for parsing BoxShadows with color functions (#20321) há 2 dias atrás
.editorconfig 64b63fa5d2 Fix common warnings (#20311) há 6 dias atrás
.gitattributes cd2b7530f5 Initial commit há 12 anos atrás
.gitignore bed48a7bb6 Rework XAML compilation targets (#17539) há 1 ano atrás
.gitmodules c925ca5c63 Move all submodules to external directory (#18431) há 9 meses atrás
Avalonia.Desktop.slnf ce0a1c6b3e Update dependencies (#20139) há 1 semana atrás
Avalonia.sln 884051ed10 Fix several issues with ExtendClientAreaToDecorationsHint on Windows (#20217) há 2 semanas atrás
Avalonia.sln.DotSettings 1583de3e33 Fix random test failures and add empty dispatcher verification to tests (#17628) há 1 ano atrás
Avalonia.v3.ncrunchsolution a32a8726a3 Fix ncrunch configuration. (#15440) há 1 ano atrás
CODE_OF_CONDUCT.md 614941c430 Fixed CoC contact method há 5 anos atrás
CONTRIBUTING.md 246cbfc566 Remove Direct2D1 (#20132) há 1 mês atrás
Directory.Build.props 40a3af4aa5 Remove netstandard2.0 from almost all projects (#20111) há 1 mês atrás
Directory.Build.targets e9519e2719 Fix NET8 build há 2 anos atrás
NOTICE.md a78b0edd42 Changes after review há 3 anos atrás
NuGet.Config 5f9d156ad4 Change NuGet.Config to be independent from global NuGet.Config (#20168) (#20169) há 3 semanas atrás
azure-pipelines-integrationtests.yml 884051ed10 Fix several issues with ExtendClientAreaToDecorationsHint on Windows (#20217) há 2 semanas atrás
azure-pipelines.yml fb0f3848f9 Update to .NET 10 (#19869) há 1 mês atrás
build-native.sh 1986de1bf8 add some key mappings for osx há 6 anos atrás
build.cmd 240b644650 Next try há 3 anos atrás
build.ps1 240b644650 Next try há 3 anos atrás
build.sh 240b644650 Next try há 3 anos atrás
dirs.proj 40a3af4aa5 Remove netstandard2.0 from almost all projects (#20111) há 1 mês atrás
global.json f5bab9b85e Update .NET SDK to 10.0.101 (#20322) há 3 dias atrás
licence.md 5837d8c228 Removing DNF references. (#15500) há 1 ano atrás
readme.md 3c317f5224 Update readme.md há 5 meses atrás

readme.md

Hero

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

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

Sponsors

Avalonia development is supported by the generous sponsorship of Devolutions.

devolutions-color-hr

Community

Join our community hub to get early access to upcoming features, share your thoughts, and connect directly with the Avalonia team. communityannouncement-banner 1

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 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]

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]

Avalonia XPF - Our cross-platform WPF

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