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.致谢

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

相关推荐
ai_xiaogui1 小时前
【开源探索】Panelai:重新定义AI服务器管理面板,助力团队私有化算力部署与模型运维
人工智能·开源·私有化部署·docker容器化·panelai·ai服务器管理面板·comfyui集群管理
Up九五小庞2 小时前
开源埋点分析平台 ClkLog 本地部署 + Web JS 埋点测试实战--九五小庞
前端·javascript·开源
Anarkh_Lee3 小时前
【小白也能实现智能问数智能体】使用开源的universal-db-mcp在coze中实现问数 AskDB智能体
数据库·人工智能·ai·开源·ai编程
Up九五小庞3 小时前
用arpspoof实现100%批量切断192.168.110.10 - 192.168.110.100 断网(双向欺骗)--九五小庞
网络·开源
wAIxiSeu6 小时前
Github开源项目推荐
开源·github
开源能源管理系统7 小时前
MyEMS开源能源管理系统赋能化纤织造产业绿色转型
开源·能源·能源管理系统·零碳工厂
zhangfeng11338 小时前
ModelScope(魔搭社区)介绍与模型微调全指南 中国版Hugging Face GPU租借平台 一站式开源模型社区与服务平台
人工智能·开源
修己xj8 小时前
FossFLOW:开源等距图表工具,为技术文档注入立体活力!
开源
兆龙电子单片机设计8 小时前
【STM32项目开源】STM32单片机多功能电子秤
stm32·单片机·开源·毕业设计·智能家居
向哆哆8 小时前
高校四六级报名管理系统的考试信息模块实现:Flutter × OpenHarmony 跨端开发实践
flutter·开源·鸿蒙·openharmony·开源鸿蒙