介绍几款WPF应用的UI库
在WPF中对于前端页面的书写,我们有现成的UI类库,不需要我们自己再去写
我这里介绍几款
1、MahApps
官网
https://mahapps.com/
使用,在App.xaml中添加
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Themes/Light.Blue.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
主界面引入
xmlns:mah="http://metro.mahapps.com/winfx/xaml/controls"
修改MainWindow为mah:MetroWindow
2、MaterialDesign
官网
http://materialdesigninxaml.net/
App.xaml引入
xmlns:md="http://materialdesigninxaml.net/winfx/xaml/themes"
使用,在App.xaml中添加
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<md:BundledTheme
BaseTheme="Light"
PrimaryColor="LightGreen"
SecondaryColor="Lime" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
3、HandyOrg
https://handyorg.gitee.io/handycontrol/
使用,在App.xaml中添加
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/SkinDefault.xaml" />
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/Theme.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
4、LayUI
官网没有Gitee
https://gitee.com/ywk1916b/Layui-WPF
使用,在App.xaml添加
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/LayUI.Wpf;component/Themes/Default.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
出处:https://www.cnblogs.com/guchen33/p/17631582.html
=======================================================================================
国人开发的免费开源wpf ui控件库 handycontrol
官网 https://handyorg.gitee.io/handycontrol/quick_start/
https://gitee.com/handyorg/HandyControl
https://github.com/HandyOrg/HandyControl/blob/master/README-cn.md
编译视频 https://www.bilibili.com/video/BV1Yb4y1D7JP
demo下载地址 https://github.com/HandyOrg/HandyControl/releases/tag/v3.1.0
例子源代码: GitHub - AFei19911012/HandyControl ,WPF HandyControl各个控件使用案例;修改主题、颜色、语言。
同时,MVVM 请下载共享项目,放在同级目录即可
关注我】。(●'◡'●)
如果,您希望更容易地发现我的新博客,不妨点击一下绿色通道的【因为,我的写作热情也离不开您的肯定与支持,感谢您的阅读,我是【Jack_孟】!
本文来自博客园,作者:jack_Meng,转载请注明原文链接:https://www.cnblogs.com/mq0036/p/17632501.html
【免责声明】本文来自源于网络,如涉及版权或侵权问题,请及时联系我们,我们将第一时间删除或更改!
posted on 2023-08-15 21:21 jack_Meng 阅读(3598) 评论(0) 编辑 收藏 举报
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· DeepSeek “源神”启动!「GitHub 热点速览」
· 微软正式发布.NET 10 Preview 1:开启下一代开发框架新篇章
· C# 集成 DeepSeek 模型实现 AI 私有化(本地部署与 API 调用教程)
· DeepSeek R1 简明指南:架构、训练、本地部署及硬件要求
· NetPad:一个.NET开源、跨平台的C#编辑器
2019-08-15 Oracle锁表与解锁 对象锁与解锁
2018-08-15 IBM websphere MQ使用说明
2018-08-15 IBM MQ相关 ---- 系列文章
2018-08-15 用IBM MQ中间件开发碰到的MQRC_NOT_AUTHORIZED(2035)问题
2015-08-15 Oracle中OEM的启动与关闭
2015-08-15 plsql Developer----plsql软件总结(待续更新)
2015-08-15 Oracle中查询前10条记录 ---- Top的变相用法