Layui version of WPF open source control library-Layui-WPF

Layui version of WPF open source control library-Layui-WPF

A WPF version of Layui front-end UI style library

最后更新 9/30/2022 9:07 PM
沙漠尽头的狼
预计阅读 2 分钟
分类
WPF
专题
WPF control library WPF Open Source Project
标签
.NET WPF control library WPF Open Source Project open source

Hello everyone, I am a wolf at the end of the desert.

Today we introduce a Layui-style WPF open source control library. The warehouse information is as follows:

Warehouse address: github.com/Layui-WPF-Team/Layui-WPF

Warehouse screenshot:

Layui-WPF

关于Layui请点击此链接了解,本文不做介绍,下面我们从控件源码及已有的控件截图进行欣赏。

VCL

Clone Control Warehouse:

git clone https://github.com/Layui-WPF-Team/Layui-WPF.git

Open using VS, the control solution is as follows:

控件源码结构

I have read that several project target frameworks default to. NET Framework 4.5.2, which is compatible with most platforms. If you need other. NET versions, you can compile and try it yourself.

The other solution references the log4net library as a logging component and Prism as an MVVM framework. The solution compiles directly without errors:

成功编译

LayuiApp工程作为启动项目,成功运行,下面对部分控件进行截图预览。

Preview of control effects

basic elements

  • button

按钮

  • form

按钮

  • tab

选项卡

  • progress bar

进度条

  • panel

面板

  • folding panel

面板

  • transition animation

过渡动画

  • load animation

加载动画

  • GIF animation

Support network gif files and local gif files

gif动画

  • timeline

时间线

  • auxiliary line

辅助线

Component examples

  • ToolTip

ToolTip

  • marker

标记

  • pop-up box

弹出框

  • drawer

抽屉

  • form

Display header consolidation effects:

表格

  • keyboard

There are several color styles

键盘

Finally, switch the control menu to end the control preview:

菜单切换

end

Finally, I will link the warehouse. If you are interested in cloning research, see that the warehouse was last submitted 22 hours ago, and the author (3 participants) is still actively updating the iteration:

  • Layui-WPF:https://github.com/Layui-WPF-Team/Layui-WPF
Keep Exploring

延伸阅读

更多文章
同分类 / 同标签 9/13/2025

Migration from WPF to Avalonia series: Why I have to migrate WPF programs to Avalonia

In the past few years, our host computer software has been mainly developed using WPF and WinForm. These technologies are really easy to use on the Windows platform, and they have also accompanied us through the stage of small-scale trial production to today's large-scale delivery. However, with the development of business and changes in customer needs, the single Windows technology stack has gradually become a hurdle that we must overcome.

继续阅读
同分类 / 同标签 1/26/2025

WPF internationalizes with custom XML files

This article describes in detail the methods of using custom XML files to achieve internationalization in WPF programs, including installing the necessary NuGet package, dynamically obtaining language lists, dynamically switching languages, using translation strings in code and xaml interfaces, etc. It also provides source code links to help developers easily internationalize WPF applications.

继续阅读