1 Star 0 Fork 1

哈喽/Avalonia.Samples

forked from 老木头/Avalonia.Samples 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Avalonia Logo Samples

🗯 Get in touch with us

If you have feedback, questions or suggestions feel free to contact us via:

chat Join%20Chat discord join%20chat 46BC99

Or file a new bug-report or feature request in the Issues-section.

📂 Organization of the Samples

Every sample can be found in its own sub-folder and can run without any reference to another sample. Nevertheless we have a *.sln-File which has all projects in one solution, if you are looking for a complete collection of samples.

You can find the list of samples below. The samples are structured in different categories and difficulties. For better search results, each sample is also tagged with some buzz-words.

In every sample folder you will find a README-File, which describes the sample in detail and, if applicable, has links to further information and documentation.

🐣 Difficulties

Each sample is tagged with it’s difficulty. The degree of difficulty describes how much base-knowledge a user should have.

🔘 Difficulty Degree of knowledge

🐣

Beginner

A Beginner must not have any knowledge of Avalonia. Nevertheless some basic knowledge of C#, X(A)ML and your IDE is mandatory

🐥

Easy

Some very basic knowledge of Avalonia is needed

🐔

Normal

The user is somewhat experienced with Avalonia

🐉

Hard

These samples are focusing on non-standard tasks, which most users will not need to know.

✍️ Samples

💡 MVVM-Samples

Sample Difficulty Buzz-Words

Basic MVVM Sample

🐣 Beginner

MVVM, Model-View-ViewModel, ReactiveUI, INotifyPropertyChanged, XAML, Binding

Commands Sample

🐣 Beginner

Command, ICommand, CommandParameter, MVVM, ReactiveCommand, async-await

ValueConverter Sample

🐥 Easy

Converter, Binding, MultiBinding, IValueConverter, IMultiValueConverter, MVVM, FuncValueConverter

Validation Sample

🐥 Easy

MVVM, Data-Validation, Exception, Error, Error-Message, Binding

✒️ Drawing-Samples

Sample Difficulty Buzz-Words

BattleCity Game Sample

🐔 Normal

Game, Canvas, Game Loop, MVVM

Rect Painter Sample

🐔 Normal

Graphics, MVVM

🎞️ DataTemplate-Samples

Sample Difficulty Buzz-Words

Basic DataTemplate Sample

🐔 Normal

DataTemplate, ToString, StringFormat, MVVM, ItemTemplate, ContentTemplate

FuncDataTemplate Sample

🐔 Normal

FuncDataTemplate, DataTemplate, C#, Binding from code

Implementing IDataTemplate Sample

🐔 Normal

IDataTemplate, DataTemplate, DataTemplateSelector

🗺️ Routing / Navigation-Samples

Sample Difficulty Buzz-Words

Basic ViewLocator Sample

🐔 Normal

ViewLocator, Routing, Wizard, Navigation, Page, MVVM

🛠️ Custom Controls Samples

Sample Difficulty Buzz-Words

RatingControl Sample

🐔 Normal

Control, TemplatedControl, custom Control, reusable Control, AvaloniaProperty, StyledProperty, DirectProperty, ReadonlyProperty, Style, ControlTheme

⚡ View Interaction Samples

Sample Difficulty Buzz-Words

Mvvm Dialog Sample

🐔 Normal

MVVM, Dialog, FileDialogs, TopLevel, Clipboard

Dialog Manager Sample

🐔 Normal

MVVM, Dialog, FileDialogs, TopLevel, Clipboard, DialogManager, CommunityToolkit.Mvvm

🧪️ Automated UI Testing

Sample Difficulty Buzz-Words

Testing with Headless XUnit

🐔 Normal

XUnit, Headless, Automation, UI Testing

Testing with Headless NUnit

🐔 Normal

NUnit, Headless, Automation, UI Testing

Testing with Appium

🐉 Hard

XUnit, Appium, WinAppDriver, Automation, UI Testing

🧑‍💻 Complete Apps

Sample Difficulty Buzz-Words

Simple ToDo-List

🐥 Easy

ToDo-List, Complete App, MVVM, CommunityToolkit.MVVM, Source Generator, Styles, Commands

🪛 Contribution

Is Anything missing? Have you found an error? Have you found an outdated sample? Or do you have a great idea?

Fantastic! Your contribution is welcome.

:information_source:
Before you start, make sure you have read the Code of Conduct

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the Contributor Covenant Code of Conduct

Issues and Feature Requests

If you file a new issue or feature request please fill in the templates available. If you found an issue in an existing sample, please link the sample and if possible the point us to what is wrong.

Pull Requests

:information_source:
Pull requests may be discussed and probably not every pull request will be merged in the end. If you are not sure, please 🗯 Get in touch with us first. Anyway, every contribution is welcome.

Fixing an existing sample

If you find that in an existing sample, that something is unclear or missing, you can update this sample and file a pull request. Also spelling mistakes or wrong wording can be changed and a pull request can be send.

:heavy_exclamation_mark:
If you change the difficulty or the buzz-words, remember to also update the main page.

Adding a new sample

  1. Add a new Project to the Solution src ► Avalonia.Samples ► Avalonia.Samples.sln

  2. In the root directory of the new sample add a ReadMe-file. We highly suggest to use the template which you can find here:

    1. AsciiDoc-Template: If you want to provide richer content, we suggest to use the ascii-doc-template.

    2. Markdown-Template: If you don’t like option a), you can use also the Markdown-template.

空文件

简介

Avalonia.Samples 是一组最小化的示例,旨在让每个人都能轻松入门 Avalonia。每个示例都专注于 Avalonia 的一个单独方面。 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/lovemygirlkk99/Avalonia.Samples.git
git@gitee.com:lovemygirlkk99/Avalonia.Samples.git
lovemygirlkk99
Avalonia.Samples
Avalonia.Samples
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385