跨平台的 .NET UI框架

Deadpikle 1f18bd3e66 Only calculate caret index on pointer pressed if left mouse down 5 years ago
.github 801e7f7d61 Create FUNDING.yml 6 years ago
.ncrunch d6d3704e8b Update ncrunch config. 5 years ago
build 7c09690ee2 Remove diagnostics from core libraries. 5 years ago
native 87c08c776c Save signaled callback and execute it outside of @synchronized block 5 years ago
nukebuild 467288ca99 Update NUKE to 0.24 5 years ago
packages a5b70889e1 Update Avalonia package to .NET core 3.1. 5 years ago
samples 980b4dba87 Merge branch 'master' into feature/menuitem-inputgesturetext 5 years ago
scripts cab67d680d Delete avalonia-rename.ps1 6 years ago
src 1f18bd3e66 Only calculate caret index on pointer pressed if left mouse down 5 years ago
tests 0ee508bfa8 Fix CalendarBenchmark not working with new text layout. 5 years ago
.editorconfig 4f83c4e8c7 Reformat Avalonia.Diagnostics. 6 years ago
.gitattributes cd2b7530f5 Initial commit 12 years ago
.gitignore eb51f4060e Merge branch 'master' of https://github.com/AvaloniaUI/Avalonia 6 years ago
.gitmodules 76f9c8fdc5 Removed legacy XAML loader 6 years ago
.nuke f8d3046cb5 Switched build to Nuke 7 years ago
Avalonia.sln 6121dc41a0 fix datagrid ascending multi-column sort 5 years ago
Avalonia.sln.DotSettings 19962e4c4d NativeMenu/NativeMenu item with dbusmenu-based exporter 6 years ago
Avalonia.v3.ncrunchsolution f50ff28387 Make ncrunch run again. 6 years ago
CODE_OF_CONDUCT.md 7dc95d5644 Adopted Conributor Covenant v1.4 6 years ago
Directory.Build.props d532223a5a Switched to post-processing nuget packages from AggregatePackage SDK 7 years ago
NuGet.Config 1d2be074d6 Added cake build scripts 9 years ago
Settings.StyleCop a833a5e883 Stylecop fixes. 11 years ago
azure-pipelines.yml 54bbcf1806 Install nuke 0.24. 5 years ago
build-native.sh 1986de1bf8 add some key mappings for osx 6 years ago
build.ps1 f8d3046cb5 Switched build to Nuke 7 years ago
build.sh f8d3046cb5 Switched build to Nuke 7 years ago
dirs.proj ec8ca19a7f diable android builds 6 years ago
global.json 30e8cac05d Update to .NET core 3.1. 5 years ago
licence.md 6993973731 Added licence.md 11 years ago
readme.md 6d5e2bb749 Added Rider note 5 years ago

readme.md

Avalonia

Gitter Chat Build Status (Win, Linux, OSX) Open Collective NuGet MyGet
Gitter Build Status Backers on Open Collective Sponsors on Open Collective NuGet MyGet

About

Avalonia is a WPF/UWP-inspired cross-platform XAML-based UI framework providing a flexible styling system and supporting a wide range of Operating Systems such as Windows (.NET Framework, .NET Core), Linux (via Xorg), macOS and with experimental support for Android and iOS.

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. To see the status of some of our features, please see our Roadmap here.

Control catalog Desktop platforms Mobile platforms

Awesome Avalonia is curated list of awesome Avalonia UI tools, libraries, projects and resources.

Getting Started

Avalonia Visual Studio Extension contains project and control templates that will help you get started. After installing it, open "New Project" dialog in Visual Studio, choose "Avalonia" in "Visual C#" section, select "Avalonia .NET Core Application" and press OK (screenshot). Now you can write code and markup that will work on multiple platforms!

For those without Visual Studio, a starter guide for .NET Core CLI can be found here.

If you need to develop Avalonia app with JetBrains Rider, go and vote on this issue in their tracker. JetBrains won't do things without their users telling them that they want the feature, so only YOU can make it happen.

Avalonia is delivered via NuGet package manager. You can find the packages here: stable(ish)

Use these commands in the Package Manager console to install Avalonia manually:

Install-Package Avalonia
Install-Package Avalonia.Desktop

Bleeding Edge Builds

or use nightly build feeds as described here: https://github.com/AvaloniaUI/Avalonia/wiki/Using-nightly-build-feed

Documentation

You can take a look at the getting started page for an overview of how to get started but probably the best thing to do for now is to already know a little bit about WPF/Silverlight/UWP/XAML and ask questions in our Gitter room.

There's also a high-level architecture document that is currently a little bit out of date, and I've also started writing blog posts on Avalonia at http://grokys.github.io/.

Contributions for our docs are always welcome!

Building and Using

See the build instructions here.

Contributing

Please read the contribution guidelines before submitting a pull request.

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]