Skip to content

一个寻求和分享设计灵感的开源WPF应用程序UI库

Notifications You must be signed in to change notification settings

he-ze-xi/UllnnovationHub

Repository files navigation

UllnnovationHub

一个寻求和分享设计灵感的开源WPF应用程序UI库

image-20241125105053177

image-20241125105122998

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.控件样式

包含了以下控件样式:

1.Button

image-20241125111213242

2.GroupBox

image-20241125111226278

3.TabControl

image-20241125111239285

4.RadioButton

image-20241125111254966

5.SwitchButton

image-20241125111306915

6.TextBox

image-20241125111326262

7.PasswordBox

image-20241125111340217

8.CheckBox

image-20241125111354597

9.DateTimePicker

image-20241125111412037

10.Expander

image-20241125111601664

11.Card

image-20241125111618710

12.ListBox

image-20241125111636775

13.Treeview

image-20241125111658308

14.Combox

image-20241125111718950

15.Separator

image-20241125111538281

16.ListView

17.DataGrid

18.Menu

19.Slider

image-20241125231545542

20.ScrollViewer

21.ImageButton

image-20241125231459043

2.自定义控件种类

1.DateTimePicker

image-20241125111412037

2.Separator

image-20241125111538281

3.Card

image-20241125111618710

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

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

About

一个寻求和分享设计灵感的开源WPF应用程序UI库

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages