跨平台的 .NET UI框架

Dan Walmsley c45bb0ea30 Merge branch 'master' into fixes/win32-can-resize 3 年 前
.github d6a16903f3 Update config.yml 4 年 前
.ncrunch 3194d45bfd Merge branch 'master' into feature/ui-automation 3 年 前
Documentation d3b21f5893 Update build.md 4 年 前
build 95ac5122e4 Revert "use newer preview skiasharp." 3 年 前
native 3194d45bfd Merge branch 'master' into feature/ui-automation 3 年 前
nukebuild 7a58a27fd9 Remove DesktopRuntime project and move AppBuilder to PlatformSupport project 3 年 前
packages 2ac4eafdcf fixes: WarningsAsErrors in Visual Studio 3 年 前
samples 77f339d225 refactor android activity to allow appbuilder and singleviewlifetime. 3 年 前
scripts 4dc87d6cbc update replace scripts. 5 年 前
src c45bb0ea30 Merge branch 'master' into fixes/win32-can-resize 3 年 前
tests b2eddaa4bf Merge branch 'master' into feature/ui-automation 3 年 前
.editorconfig 2e23333996 Add CheckBox tests. 4 年 前
.gitattributes cd2b7530f5 Initial commit 12 年 前
.gitignore 9bc881e4a7 Update iOS control catalog projects 3 年 前
.gitmodules d355007c57 Extracted runtime XAML loader to a separate package 5 年 前
.nuke f8d3046cb5 Switched build to Nuke 7 年 前
Avalonia.sln 9909c628fa Merge branch 'master' into net6-ios 3 年 前
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 4 年 前
Directory.Build.props dcc7d02e18 Move MSBuildEnableWorkloadResolver to directory build props 3 年 前
NOTICE.md e555f46d40 Add attribution for chromium source code. 5 年 前
NuGet.Config 6405558dd0 remove skiasharp from nuget.config 3 年 前
Settings.StyleCop a833a5e883 Stylecop fixes. 11 年 前
azure-pipelines.yml 741c4a8bb1 Missed workload 3 年 前
build-native.sh 1986de1bf8 add some key mappings for osx 6 年 前
build.ps1 6e4dc871bd Merge branch 'master' into feature/add_handling_input_message_previewer 5 年 前
build.sh fe846fd0f3 Download SDK separately (unix) 4 年 前
dirs.proj 9bc881e4a7 Update iOS control catalog projects 3 年 前
global.json e74b51e7af Use as latest as possible SDK 3 年 前
licence.md 2ab5f8b893 Revert "Update licence.md" 4 年 前
readme.md 5c4179b510 Fix typo in README 3 年 前

readme.md

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

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

Support Avalonia

BTC: bc1q05wx78qemgy9x6ytl5ljk2xrt00yqargyjm8gx

This will be shared with the community and awarded for significant contributions.

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]

.NET Foundation

This project is supported by the .NET Foundation.