跨平台的 .NET UI框架

Jeremy Koritzinsky df593b3a80 Get leak tests running again in the build script. They were removed at some point. Also, update the tooling used and clean up the code for running them. 7 years ago
.github 3514171338 Added PR template. 7 years ago
.ncrunch 589b76e9cd Moved render tests for each platform to their own directory. 7 years ago
build 4169b8de0c Clean up assembly version conflicts when building tests. 7 years ago
samples 54f431300a Merge branch 'master' into refactor/binding-support 7 years ago
scripts 16b99ae3aa add skia to replace scripts so skia issues can be debugged from user apps. 8 years ago
src 8b36caf88e Disable 'Unused' warning in Gtk/Interop/Native.cs 7 years ago
tests df593b3a80 Get leak tests running again in the build script. They were removed at some point. Also, update the tooling used and clean up the code for running them. 7 years ago
tools 2f1c94ef30 Update to Cake 0.28 7 years ago
.editorconfig 0835ae6dda Added editorconfig 10 years ago
.gitattributes cd2b7530f5 Initial commit 12 years ago
.gitignore 1c12cd4bd6 Fix x64 builds of Avaloina.Direct2D1. Refactor build scripts to reduce time and fix issues. 8 years ago
.gitmodules b89ab8f5f1 Remove HtmlRenderer from the Avalonia repository and move it to the Avalonia.HtmlRenderer repo. 7 years ago
.travis.yml 1e611022be Updated .net core SDK version. 7 years ago
Avalonia.sln 4169b8de0c Clean up assembly version conflicts when building tests. 7 years ago
Avalonia.sln.DotSettings d5febb11d5 Apply FrameworkPathOverride automatically 8 years ago
Avalonia.v3.ncrunchsolution a46be4e200 Ensure correct thread for AvaloniaProperty access. 8 years ago
NuGet.Config 1d2be074d6 Added cake build scripts 9 years ago
Settings.StyleCop a833a5e883 Stylecop fixes. 11 years ago
appveyor.yml c93335e6c8 Removed NUGET_API_KEY from appveyor.yml 7 years ago
build.cake df593b3a80 Get leak tests running again in the build script. They were removed at some point. Also, update the tooling used and clean up the code for running them. 7 years ago
build.ps1 2c14b70d0a Renamed Mono sln Config to NetCoreOnly. 7 years ago
build.sh 9d40d5dc69 Update build.sh 9 years ago
cake.config df593b3a80 Get leak tests running again in the build script. They were removed at some point. Also, update the tooling used and clean up the code for running them. 7 years ago
licence.md 6993973731 Added licence.md 11 years ago
packages.cake b3c0301ee0 Add missing annotations dependency. 7 years ago
parameters.cake 2f1c94ef30 Update to Cake 0.28 7 years ago
readme.md 648ce074bb Updating readme to reflect beta status 7 years ago

readme.md

Avalonia

Gitter Chat Windows Build Status Linux/Mac Build Status Open Collective
Gitter Build status Build Status Backers on Open Collective Sponsors on Open Collective

About

Avalonia is a WPF-inspired cross-platform XAML-based UI framework providing a flexible styling system and supporting a wide range of OSs: Windows (.NET Framework, .NET Core), Linux (GTK), MacOS, Android and iOS.

Avalonia is currently in beta which means that the framework is generally usable for writing applications, but there may be some bugs and breaking changes as we continue development.

Control catalog Desktop platforms Mobile platforms

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!

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

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

Install-Package Avalonia
Install-Package Avalonia.Desktop

Bleeding Edge Builds

Try out the latest build of Avalonia available for download here: https://ci.appveyor.com/project/AvaloniaUI/Avalonia/branch/master/artifacts

Documentation

As mentioned above, Avalonia is still in beta and as such there's not much documentation yet. 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 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]