跨平台的 .NET UI框架

Giuseppe Lippolis c7da3ccdc5 feat(DevTools): Startup Screen 4 năm trước cách đây
.github 6f1b242f11 Update docs link in PR template. 4 năm trước cách đây
.ncrunch 1a39210feb Fix ncrunch. 4 năm trước cách đây
Documentation bd9892b9a4 Update windows build instructions 4 năm trước cách đây
build 65792cf4b0 feature: Disable ReactiveUI platform registrations 4 năm trước cách đây
native a0a039860c fix shadow ensuring the window frame and avalonia standard container are both resized. 4 năm trước cách đây
nukebuild be97f4d428 Merge branch 'master' into infra/remove_ReactiveUI_Events 4 năm trước cách đây
packages 020cd8e89c Add DisableSourceLink Condition in Avalonia.csproj 4 năm trước cách đây
samples c7da3ccdc5 feat(DevTools): Startup Screen 4 năm trước cách đây
scripts 4dc87d6cbc update replace scripts. 5 năm trước cách đây
src c7da3ccdc5 feat(DevTools): Startup Screen 4 năm trước cách đây
tests 2d10536abf Merge branch 'master' into fix-keybindings-foreach-crash 4 năm trước cách đây
.editorconfig 1025b12402 Add tests 5 năm trước cách đây
.gitattributes cd2b7530f5 Initial commit 12 năm trước cách đây
.gitignore b30120770c Ignore Events_Avalonia.cs which is autogenerated 5 năm trước cách đây
.gitmodules d355007c57 Extracted runtime XAML loader to a separate package 5 năm trước cách đây
.nuke f8d3046cb5 Switched build to Nuke 7 năm trước cách đây
Avalonia.sln 2e500456eb Remove Avalonia.ReactiveUI.Events 4 năm trước cách đây
Avalonia.sln.DotSettings 35b365d97d Implemented basic IME support for Linux 4 năm trước cách đây
Avalonia.v3.ncrunchsolution 1cc569472e Fix ncrunch. 5 năm trước cách đây
CODE_OF_CONDUCT.md 614941c430 Fixed CoC contact method 5 năm trước cách đây
CONTRIBUTING.md 3c8215061e Updated link to coding guidelines. 5 năm trước cách đây
Directory.Build.props eeba3f0e2e AddSyntheticProjectReferencesForSolutionDependencies = false 5 năm trước cách đây
NOTICE.md e555f46d40 Add attribution for chromium source code. 5 năm trước cách đây
NuGet.Config dbc4acc5c7 use our own nuget feed for stability. 5 năm trước cách đây
Settings.StyleCop a833a5e883 Stylecop fixes. 11 năm trước cách đây
azure-pipelines.yml 5db58e7660 Use correct sdk 4 năm trước cách đây
build-native.sh 1986de1bf8 add some key mappings for osx 6 năm trước cách đây
build.ps1 6e4dc871bd Merge branch 'master' into feature/add_handling_input_message_previewer 5 năm trước cách đây
build.sh 7f904f6c89 Emit IgnoresAccessChecksToAttribute for runtime-generated XAML 5 năm trước cách đây
dirs.proj c364ca6f9b fix NU5128 5 năm trước cách đây
global.json 21fc8620f2 Try using 3.1.401 5 năm trước cách đây
licence.md 2ab5f8b893 Revert "Update licence.md" 4 năm trước cách đây
readme.md 3f57356a27 Fixed documentation site URLs 4 năm trước cách đây

readme.md

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

📖 About AvaloniaUI

Avalonia is a cross-platform XAML-based UI framework providing a flexible styling system and supporting a wide range of Operating Systems such as Windows via .NET Framework and .NET Core, Linux via Xorg, macOS. Avalonia is ready for General-Purpose Desktop App Development. However, there may be some bugs and breaking changes as we continue along into this project's development.

(Xaml Control Gallery)

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 image

(Synfonia)

image (Xaml Control Gallery)

image (Xaml Control Gallery)

image (Xaml Control Gallery)

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

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.

Contributors

This project exists thanks to all the people who contribute. [Contribute].

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.