跨平台的 .NET UI框架

Nikita Tsukanov 797def7d55 build преди 2 години
.github 3f4034f0ca add github sponsors преди 3 години
.ncrunch de61af19a6 Update ncrunch config. преди 2 години
.nuke dbaffc8206 Remove Solution usage from the nuke tests to avoid random CI errors преди 2 години
Documentation 848ca76216 Update build instructions. преди 3 години
build 8677eb6a4d Merge branch 'master' into fixes/getTextBounds преди 2 години
native d5b280453c [MacOS] [Input] use uint64 timestamp in other places, including avn.idl преди 2 години
nukebuild f300a24402 Media system refactoring преди 2 години
packages cf382b0e46 update buildservices nuget. преди 2 години
samples f300a24402 Media system refactoring преди 2 години
scripts 4dc87d6cbc update replace scripts. преди 5 години
src 797def7d55 build преди 2 години
tests fa7eb55902 Flakiness? преди 2 години
.editorconfig ea779ac9ad feat: Enable Rule CA1854 преди 2 години
.gitattributes cd2b7530f5 Initial commit преди 12 години
.gitignore 117631d0ef Update .gitignore преди 2 години
.gitmodules 240b644650 Next try преди 3 години
Avalonia.Desktop.slnf 91ff652c12 Fixed or suppressed various analyzer warnings преди 2 години
Avalonia.sln 13c98937b3 Merge branch 'master' into fixes/DevTools/WithoutApplicationLifetime преди 2 години
Avalonia.sln.DotSettings fcece1a215 DotSettings: enable XAML highlighting преди 4 години
Avalonia.v3.ncrunchsolution 1cc569472e Fix ncrunch. преди 5 години
CODE_OF_CONDUCT.md 614941c430 Fixed CoC contact method преди 5 години
CONTRIBUTING.md c9df7ae46e Update CONTRIBUTING.md преди 3 години
Directory.Build.props 876fa08812 move to a consistent langversion of 11 преди 2 години
Directory.Build.targets e9519e2719 Fix NET8 build преди 2 години
NOTICE.md a78b0edd42 Changes after review преди 2 години
NuGet.Config cab213cce2 use eap release of skiasharp compatible with sdk 6.0.201/202+ преди 3 години
Settings.StyleCop a833a5e883 Stylecop fixes. преди 11 години
azure-pipelines-integrationtests.yml 989e45428a always kill testmanagerd преди 2 години
azure-pipelines.yml d3f329cde3 Merge remote-tracking branch 'upstream/master' into move-sdk-to-7.0.101 преди 2 години
build-native.sh 1986de1bf8 add some key mappings for osx преди 6 години
build.cmd 240b644650 Next try преди 3 години
build.ps1 240b644650 Next try преди 3 години
build.sh 240b644650 Next try преди 3 години
dirs.proj 440be6e9da Update excludsions list преди 2 години
global.json e049313e7a Microsoft.Build.Traversal 3.2.0 преди 2 години
licence.md 2ab5f8b893 Revert "Update licence.md" преди 4 години
readme.md fda71e488d Update readme.md преди 2 години

readme.md

Star our repo to show support Header

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

⚠️ v11 Update - Pausing community contributions

📖 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.

Roadmap

To see the status of some of our features, please see our Roadmap.

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