Skip to content

CookCSharp/CookPopularUI

Repository files navigation

Fork me on Github

Welcome to CookPopularUI

介绍

CookPopularUI是支持.Net462+、.NetCore3.1、.Net6.0+的一款Xaml控件库。目前只包含WPF控件库,其中参考了一些资料,提供了100多款常用控件,并持续更新。如果你的项目用到此库,不要忘记点个赞,有问题可加QQ群交流:658794308,欢迎大家参与开发和指出问题。


使用

  • 添加Nuget包引用

    <PackageReference Include="CookPopularUI.WPF" Version="1.0.1-preview2" />
    
  • 添加如下代码即可全部引用(两种方式皆可)

    <Application.Resources>
        <ResourceDictionary>
              <ResourceDictionary.MergedDictionaries>
                  <!--<ResourceDictionary Source="pack://application:,,,/CookPopularUI.WPF;component/Themes/DefaultPopularColor.xaml" />-->
                  <!--<ResourceDictionary Source="pack://application:,,,/CookPopularUI.WPF;component/Themes/DefaultPopularControl.xaml" />-->
                  <ui:PopularTheme Language="English" Theme="Light" />
              </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
    

效果

  • Home 效果

  • BlockBar 效果

  • Border 效果 效果 效果

  • Button 效果

  • Carousel 效果

  • CheckBox 效果

  • ColorPicker 效果

  • ComboBox 效果

  • DataGrid 效果

  • DateTime 效果

  • DialogBox 效果

  • Expander 效果

  • Geometry 效果

  • GroupBox 效果

  • Icon 效果

  • Input 效果

  • Label 效果

  • ListBox 效果

  • ListView 效果

  • MarkupExtension 效果

  • Media 效果

  • Menu 效果

  • Message 效果

  • OtherButton 效果

  • OtherControl 效果

  • Panel 效果

  • ProgressBar 效果

  • ProgressButton 效果

  • PropertyGrid 效果

  • RadioButton 效果

  • RangeSlider 效果

  • ScrollViewer 效果

  • Shape 效果

  • SideBar 效果

  • SideBarEx 效果

  • StepBar 效果

  • Swiper 效果

  • TabControl 效果

  • Text 效果

  • TitleBar 效果

  • ToggleButton 效果

  • ToolBar 效果

  • TreeView 效果

  • VirtualizingWrapPanel 效果

  • Window 效果

  • WrapPanelFill 效果

准备新加入控件

  • 方形布局(子项靠近边框/子项居中)、圆形布局、ControlPanel
  • Boxes:增加相框控件
  • ProcessBar
  • ButtonGroup、ToggleButtonGroup、CheckBoxGroup、RadioButtonGroup
  • PageScroller
  • Extensions
    CookPopularUI.WPF.BarCode
    CookPopularUI.WPF.QRCode
    CookPopularUI.WPF.Animation
    CookPopularUI.Compress

遗留问题

  • WPFDemo采用Prism、Caliburn.Micro、ReactiveUI、CommunityTools、(WAF、MEF)这几种mvvm框架示例
  • MessageDialog系统菜单栏应该有关闭和移动按钮可以点击
  • 窗体ShowDialog时标题栏应该闪烁
  • PropertyGrid中自定义Item编辑器,DockPanel.Dock
  • 资源国际化扩展(可自定义)
  • Demo中Button类别分开展示
  • UniformSpacePanel水平时水平设置无效、垂直时垂直设置无效
  • SideBarEx动画不和谐
  • ItemsControl类型控件大量数据性能测试

单元测试

  1. 单元测试
  2. BentchMark性能测试

⭐️ Stargazers

Stargazers over time

About

CookPopularUI is a popular Xaml control library that offers more than 100 controls, as well as some commonly used .NET help class

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages