CookPopularUI.WPF 1.0.1-preview4

This is a prerelease version of CookPopularUI.WPF.
dotnet add package CookPopularUI.WPF --version 1.0.1-preview4
                    
NuGet\Install-Package CookPopularUI.WPF -Version 1.0.1-preview4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CookPopularUI.WPF" Version="1.0.1-preview4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CookPopularUI.WPF" Version="1.0.1-preview4" />
                    
Directory.Packages.props
<PackageReference Include="CookPopularUI.WPF" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CookPopularUI.WPF --version 1.0.1-preview4
                    
#r "nuget: CookPopularUI.WPF, 1.0.1-preview4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CookPopularUI.WPF@1.0.1-preview4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CookPopularUI.WPF&version=1.0.1-preview4&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CookPopularUI.WPF&version=1.0.1-preview4&prerelease
                    
Install as a Cake Tool

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>
    
    
                  <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 <br /> CookPopularUI.WPF.BarCode <br /> CookPopularUI.WPF.QRCode <br /> CookPopularUI.WPF.Animation <br /> CookPopularUI.Compress <br />

遗留问题

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

单元测试

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

⭐️ Stargazers

<img src="https://starchart.cc/CookCSharp/CookPopularUI.svg" alt="Stargazers over time" style="max-width: 100%">

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1-preview4 137 5/21/2025
1.0.1-preview3 125 5/20/2025
1.0.1-preview2 161 2/2/2024
1.0.0.1-preview1 149 12/21/2023

提供了100多款常用控件