跨平台的 .NET UI框架

Nikita Tsukanov ea8bde211b Additional `Start` method overload 7 роки тому
.github 3514171338 Added PR template. 7 роки тому
.ncrunch e5846d5253 Merge branch 'master' into perf/templatedparent-direct 7 роки тому
build 343905ebb3 Generate asset resource info with paths 7 роки тому
native 3c989a2173 Fixed some OS threading issues 7 роки тому
packages 1e91484c68 Added <UpToDateCheckInput Include="@(AvaloniaResource)" /> to AvaloniaBuildTasks.targets 7 роки тому
samples ea8bde211b Additional `Start` method overload 7 роки тому
scripts 5d56163040 update replace script to include avalonia.native. 7 роки тому
src ea8bde211b Additional `Start` method overload 7 роки тому
tests 0c660c7c96 Merge remote-tracking branch 'origin/master' into msb-resources 7 роки тому
tools 4aaee53602 Updated Cake and script tools and addins 7 роки тому
.editorconfig 75f029b52a Use modified .editorconfig from corefx 7 роки тому
.gitattributes cd2b7530f5 Initial commit 12 роки тому
.gitignore 7745d3bd21 Update gitignore. 7 роки тому
.gitmodules b89ab8f5f1 Remove HtmlRenderer from the Avalonia repository and move it to the Avalonia.HtmlRenderer repo. 7 роки тому
.travis.yml 70812de8e2 Install castxml 7 роки тому
Avalonia.sln 343905ebb3 Generate asset resource info with paths 7 роки тому
Avalonia.sln.DotSettings 343905ebb3 Generate asset resource info with paths 7 роки тому
Avalonia.v3.ncrunchsolution a46be4e200 Ensure correct thread for AvaloniaProperty access. 8 роки тому
Directory.Build.props acb3d46ca0 Enable generating NuGet packages via the MSBuild Pack target. 7 роки тому
NuGet.Config 1d2be074d6 Added cake build scripts 9 роки тому
Settings.StyleCop a833a5e883 Stylecop fixes. 11 роки тому
appveyor.yml 065d6d01d8 Switch Cake to use a dirs.proj traversal project to simplify the solution. 7 роки тому
azure-pipelines.yml bbf570198a Always run PublishTestArtifacts unless the build was canceled. 7 роки тому
build-native.sh f53d491bca Add C++11 override specifier to be explicit about overrides 7 роки тому
build.cake a1a6c46963 print isrelease branch. 7 роки тому
build.ps1 2c14b70d0a Renamed Mono sln Config to NetCoreOnly. 7 роки тому
build.sh 9d40d5dc69 Update build.sh 9 роки тому
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 роки тому
dirs.proj 45ae6aac23 Fix package versions. 7 роки тому
global.json 45ae6aac23 Fix package versions. 7 роки тому
licence.md 6993973731 Added licence.md 11 роки тому
parameters.cake 5e25f25ce2 fix local cake script build 7 роки тому
readme.md 195944aa1a Update readme.md 7 роки тому

readme.md

Avalonia

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