Location>code7788 >text

Avalonia open source control library is highly recommended - .

Popularity:917 ℃/2024-11-06 02:05:17

What is Avalonia?

Avalonia is a powerful framework that enables developers to create cross-platform applications using . It uses its own rendering engine to draw UI controls, ensuring a consistent look and behavior across platforms such as Windows, macOS, Linux, Android, iOS, and WebAssembly. This means that developers can share their UI code and maintain a uniform look and feel across different target platforms.

Leniency and Facilitation of the MIT Agreement

The MIT License is a simple and generous open source software license agreement. It allows users to freely use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software. Users are required to include a copyright notice and a license notice in the software and in all copies of the software. the MIT License places very few restrictions on the user and essentially gives the user a great deal of freedom, and is suitable for a wide variety of open source projects, encouraging the sharing and reuse of code, and facilitating the rapid development of software technology.

Dotnet and Avalonia are both MIT protocols and the relevant code addresses are:

  • Dotnet:/microsoft/dotnet
  • Avalonia:/AvaloniaUI/Avalonia

cap (a poem)

(i) - Attractive realization of thematic styles

This is a subtle rendering of the Semi Design theme styled in the Avalonia UI framework open-sourced under the MIT protocol. It brings a unique visual style to the application, like a beautiful painting, adding rich colors and textures to the user interface.

Its warehouse address is:/irihitech/

(ii) - The Innovative Power of Custom Controls

This is complemented by a library of custom controls that also follow the MIT protocol. Together, they create a new visual and functional experience that opens the door to endless possibilities.

Warehouse Address:/irihitech/

Performance in the field of Xintronics and domestic operating systems

It is worth mentioning that these two libraries have performed well in the field of Xinchuang and domestic operating system, and have completed the compatibility and mutual authentication with Longxin 3A6000 and Dragon Architecture (LoongArch™), which is an important achievement in the advancement of self-control and localization technology.

The following information is quoted from the WeChat public number [Iridium Hong Technology] on August 2nd articleUrsa and Semi Formally Complete Dragon Architecture Compatible Mutual Certification》:

The two major Avalonia control sets, Big Bear Ursa and Semi, have completed inter-compliance certification with the LongXin 3A6000 and the Dragon Architecture (LoongArch™). This important milestone marks new progress in advancing our independent control and localization technologies.

Partial screenshot of the control

The controls have their own characteristics, but all of them show a unique charm. Here are a few screenshots to give you a glimpse of what they look like:

Theme Library at a Glance:

截图

A list of custom control libraries:

Practical case sharing

The control is used in the webmaster's company project, although it is not convenient to show the screenshot, you can refer to the webmaster's use of Avalonia UI with the theme and the control library to write the tool:

Warehouse:/dotnet9/

The gadget was developed using Avalonia+Prism 8 modularity and the file organization after AOT release:

It has a black and white theme that creates a different visual atmosphere:

Internationalization features have also been implemented to provide a convenient experience for global users:

国际化

Meanwhile, the useful Json beautification tool and YAML to Json tool are included, as shown below:

Json Beautifier

YAML to Json Tools

Experience Sharing

  1. official document
  • Semi Documentation:/semi
  • Ursa Documentation:/ursa/
  1. Source code reading

First, clone the control repository (the address is given above) and look for it based on the Readme and Demo runs. For example, if you think the Warning effect of Button is good:

You can open the repository using VS Code or VS:

  1. be in full swing
  2. Locate the Pages directory and open the
  3. According to the interface keywords Solid, Waring to find the required style

In this way, you can easily navigate these great controls and add efficiency and charm to your development work. We hope this article provides you with useful guidance and inspiration as you explore Avalonia's open source library and create even more exciting applications.