跨平台的 .NET UI框架

Nikita Tsukanov ec682e2e1d [X11] Implemented icons vor 6 Jahren
.github 3514171338 Added PR template. vor 7 Jahren
.ncrunch e5846d5253 Merge branch 'master' into perf/templatedparent-direct vor 7 Jahren
build 4b234f73df Run Avalonia.Base.UnitTests on netfx/mono vor 6 Jahren
native 16bc1097da #2061 fix start minimized bug vor 6 Jahren
nukebuild 7d6473be3d Merge branch 'master' into make-mono-great-again vor 6 Jahren
packages 763ed08f1c EmbedReference is not needed anymore vor 7 Jahren
samples 08b50a6830 [X11] Get screen info (including scale factor) via RANDR 1.5 vor 6 Jahren
scripts 5d56163040 update replace script to include avalonia.native. vor 7 Jahren
src ec682e2e1d [X11] Implemented icons vor 6 Jahren
tests 7d6473be3d Merge branch 'master' into make-mono-great-again vor 6 Jahren
.editorconfig 75f029b52a Use modified .editorconfig from corefx vor 7 Jahren
.gitattributes cd2b7530f5 Initial commit vor 12 Jahren
.gitignore d532223a5a Switched to post-processing nuget packages from AggregatePackage SDK vor 7 Jahren
.gitmodules d532223a5a Switched to post-processing nuget packages from AggregatePackage SDK vor 7 Jahren
.nuke f8d3046cb5 Switched build to Nuke vor 7 Jahren
Avalonia.sln cd957fbb79 Merge branch 'master' into x11 vor 6 Jahren
Avalonia.sln.DotSettings 343905ebb3 Generate asset resource info with paths vor 7 Jahren
Avalonia.v3.ncrunchsolution a46be4e200 Ensure correct thread for AvaloniaProperty access. vor 8 Jahren
Directory.Build.props d532223a5a Switched to post-processing nuget packages from AggregatePackage SDK vor 7 Jahren
NuGet.Config 1d2be074d6 Added cake build scripts vor 9 Jahren
Settings.StyleCop a833a5e883 Stylecop fixes. vor 11 Jahren
azure-pipelines.yml 35c0fcdf6a temporary allow pr build to publish vor 6 Jahren
build-native.sh f53d491bca Add C++11 override specifier to be explicit about overrides vor 7 Jahren
build.ps1 f8d3046cb5 Switched build to Nuke vor 7 Jahren
build.sh f8d3046cb5 Switched build to Nuke vor 7 Jahren
dirs.proj 45ae6aac23 Fix package versions. vor 7 Jahren
global.json 45ae6aac23 Fix package versions. vor 7 Jahren
licence.md 6993973731 Added licence.md vor 11 Jahren
readme.md f678b4c31d Removed appveyor badge vor 7 Jahren

readme.md

Avalonia

Gitter Chat Build Status (Win, Linux, OSX) Open Collective
Gitter 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]