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.使用方法

xml 复制代码
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
2.GroupBox
3.TabControl
4.RadioButton
5.SwitchButton
6.TextBox
7.PasswordBox
8.CheckBox
9.DateTimePicker
10.Expander
11.Card
12.ListBox
13.Treeview
14.Combox
15.Separator
16.ListView
17.DataGrid
18.Menu
19.Slider
20.ScrollViewer
21.ImageButton

2.自定义控件种类

1.DateTimePicker
2.Card

5.贡献者

  1. luo-chenchen:https://github.com/luo-chenchen
  2. he-ze-xi:https://github.com/he-ze-xi

6.参考资料

  1. https://github.com/944095635/DMSkin
  2. https://github.com/DinoChan/Kino.Toolkit.Wpf
  3. https://github.com/JamesnetGroup/xamldesign.wpf

7.致谢

如果你觉得本框架还不错的话,欢迎赞助一杯咖啡

相关推荐
无相孤君21 分钟前
我用 Docker + JunimoServer 搭了一个星露谷物语无头服,还顺手做了个本地管理面板
linux·游戏·docker·开源
5008437 分钟前
GE 怎么做算子融合
分布式·架构·开源·wpf
runafterhit1 小时前
开源知识库GitHub使用经验总结
开源·github
AI小百科1 小时前
目前开源AI编辑器面临的主要挑战是什么
人工智能·开源·编辑器
yantuguiguziPGJ1 小时前
机器人机械结构开源周报
机器人·开源
Yuk丶1 小时前
厌倦了假AI对话?用本地大模型给UE注入真智能(已开源!)
c++·人工智能·开源·ue4·游戏程序·ue4客户端开发
星栈2 小时前
别让 API 跳去登录页:我在 Axum 里做了认证失败双通道
前端·后端·开源
a1117762 小时前
VR看房 网页(开源 threejs)html
前端·开源·html·vr
国产化创客2 小时前
ESP32+WebServer+LD2402实现人体/宠物感知
单片机·物联网·开源·智能硬件
Are_You_Okkk_3 小时前
无需配环境、不受设备限!MonkeyCode重新定义研发
大数据·人工智能·开源·团队开发·ai编程