UllnnovationHub,一个开源的WPF控件库
UllnnovationHub近来和女朋友一起开发了一个WPF的控件库名为UllnnovationHub,一个寻求和分享计划灵感的开源WPF应用步伐UI库。它的主题风格是简介、小巧、包罗多种控件,后续我们会不停美满UllnnovationHub项目并及时更新此博客。我们的目标是MaterialDesign、HandyControl!!!
1.项目概述
UllnnovationHub,旨在寻求和分享WPF UI计划灵感。它提供了一些基础的WPF原生控件和自定义控件,未来还将继承参加更多的控件样式。
2.开发情况
Windows 11 + Visual Studio 2022 Enterprise+ .NET 6.0
3.使用方法
1.编译UllnnovationHub.ToolKIt项目并生成UllnnovationHub.ToolKIt.dll
2.WPF项目添加对UllnnovationHub.ToolKIt.dll的引用,在然后App.xaml里添加如下代码以引用资源文件:
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/UllnnovationHub.ToolKIt;Component/Generic.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
3.//在xaml页面引用命名空间
xmlns:UI="clr-namespace:UllnnovationHub.ToolKIt.UI;assembly=UllnnovationHub.ToolKIt"
4.//使用自定义控件或者样式
<UI:Card Margin="20"/>
<GroupBox Header="测试" Margin="10" Style="{StaticResource BaseGroupBoxStyle}"/>
<GroupBox Header="测试" Margin="10" Style="{StaticResource SqureShadowHeaderGroupBoxStyle}"/>
<GroupBox Header="测试" Margin="10" Style="{StaticResource RoundedShadowHeaderGroupBoxStyle}"/>
4.项目简介
1.WPF原生控件
包罗了以下控件样式:
1.Button
https://i-blog.csdnimg.cn/direct/89bea6e63af241a8b8b80169f9493261.png
2.GroupBox
https://i-blog.csdnimg.cn/direct/b9fbd90f12674334835eb5d1faaffec7.png
3.TabControl
https://i-blog.csdnimg.cn/direct/793aea39ca9e478c943899a49c8f0684.png
4.RadioButton
https://i-blog.csdnimg.cn/direct/3469886d07e34b2d9559c12af451ea6a.png
5.SwitchButton
https://i-blog.csdnimg.cn/direct/439a78508ab043ea9849148aa1da42a1.png
6.TextBox
https://i-blog.csdnimg.cn/direct/56951e6ebff44722bbe47a6e69bf4f3d.png
7.PasswordBox
https://i-blog.csdnimg.cn/direct/5e7221bc71264ea7b383220d75d3650a.png
8.CheckBox
https://i-blog.csdnimg.cn/direct/298ff7fed13a4ac1bfd812024b4f1640.png
9.DateTimePicker
https://i-blog.csdnimg.cn/direct/622c1cd9605c41de97d05e5b437cd0fb.png
10.Expander
https://i-blog.csdnimg.cn/direct/ce60555b19274ccaa0f9c6832de6323d.png
11.Card
https://i-blog.csdnimg.cn/direct/6ee22a98350942eea49b91c092a74e8f.png
12.ListBox
https://i-blog.csdnimg.cn/direct/dd3b7314cd3d4b8896f97ae8d0622840.png
13.Treeview
https://i-blog.csdnimg.cn/direct/b2da1c4cdc2a412aa765f3fcd2863a7d.png
14.Combox
https://i-blog.csdnimg.cn/direct/75ba10d8ebb54c3883bdeec50a28a54f.png
15.Separator
https://i-blog.csdnimg.cn/direct/9cb58ddc911d4e2baf6abbc560f72053.png
16.ListView
17.DataGrid
18.Menu
19.Slider
https://i-blog.csdnimg.cn/direct/fe41c75e60e04d6abfa2bdf07ef75758.png
20.ScrollViewer
21.ImageButton
https://i-blog.csdnimg.cn/direct/401853830f334af59005dd4c87d97cb7.png
2.自定义控件种类
1.DateTimePicker
https://i-blog.csdnimg.cn/direct/5761f752d08f49859d4f78a08e1cb28b.png
2.Card
https://i-blog.csdnimg.cn/direct/bdc92ae77dbd4fd39b4c57875f393ed8.png
5.贡献者
[*]luo-chenchen:https://github.com/luo-chenchen
[*]he-ze-xi:https://github.com/he-ze-xi
6.参考资料
[*]https://github.com/944095635/DMSkin
[*]https://github.com/DinoChan/Kino.Toolkit.Wpf
[*]https://github.com/JamesnetGroup/xamldesign.wpf
7.致谢
如果你以为本框架还不错的话,欢迎赞助一杯咖啡
https://i-blog.csdnimg.cn/direct/2f34fa606ca14cd9aa58f32425e9aeaf.png
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页:
[1]