跨平台的 .NET UI框架

Dan Walmsley c82692fdec Merge remote-tracking branch 'origin/master' into fixes/nre-menu-interaction hace 7 años
.github 3514171338 Added PR template. hace 7 años
.ncrunch 6720bb9633 Updated ignore list in ncrunch. hace 7 años
build b13908681d Downgrade to Rx 4.0 hace 7 años
samples a966efd0e8 Merge branch 'master' into demo/dynamic-menus hace 7 años
scripts 4e84b1e487 Made sure that only the required assemblies are copied to the appropriate package directories + included net461 package output. hace 7 años
src c82692fdec Merge remote-tracking branch 'origin/master' into fixes/nre-menu-interaction hace 7 años
tests cabdb077a1 add failing test for #1930 PathMarkupParser does not end figure when trailing spaces (newlines) are present hace 7 años
tools 2f1c94ef30 Update to Cake 0.28 hace 7 años
.editorconfig 75f029b52a Use modified .editorconfig from corefx hace 7 años
.gitattributes cd2b7530f5 Initial commit hace 12 años
.gitignore 7507a01531 Enable generating solution file from the dirs.proj file. Useful for creating Omnisharp-compatible solution with subset of projects. hace 7 años
.gitmodules b89ab8f5f1 Remove HtmlRenderer from the Avalonia repository and move it to the Avalonia.HtmlRenderer repo. hace 7 años
.travis.yml 065d6d01d8 Switch Cake to use a dirs.proj traversal project to simplify the solution. hace 7 años
Avalonia.sln add3e81095 Extracted interop bits from GTK3 backend to Avalonia.Base and IRuntimePlatform hace 7 años
Avalonia.sln.DotSettings d5febb11d5 Apply FrameworkPathOverride automatically hace 8 años
Avalonia.v3.ncrunchsolution a46be4e200 Ensure correct thread for AvaloniaProperty access. hace 8 años
NuGet.Config 1d2be074d6 Added cake build scripts hace 9 años
Settings.StyleCop a833a5e883 Stylecop fixes. hace 11 años
appveyor.yml 065d6d01d8 Switch Cake to use a dirs.proj traversal project to simplify the solution. hace 7 años
build.cake 23d252f608 Cleanup legacy build/test files. hace 7 años
build.ps1 2c14b70d0a Renamed Mono sln Config to NetCoreOnly. hace 7 años
build.sh 9d40d5dc69 Update build.sh hace 9 años
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. hace 7 años
dirs.proj 7507a01531 Enable generating solution file from the dirs.proj file. Useful for creating Omnisharp-compatible solution with subset of projects. hace 7 años
global.json e7fab78d04 Use MSBuild.Sdk.Extras to switch the rest of our library projects to the new project format. hace 7 años
licence.md 6993973731 Added licence.md hace 11 años
packages.cake ea5a7a8d1c Pack Avalonia.OpenGL to the main package hace 7 años
parameters.cake f8df516fc7 Fix package paths for Android/iOS. hace 7 años
readme.md 49f36d4ac6 Adds reference to nightly build feed hace 7 años

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!

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

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

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

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]