CgdataBase.WPF.Common 1.9.3

dotnet add package CgdataBase.WPF.Common --version 1.9.3
                    
NuGet\Install-Package CgdataBase.WPF.Common -Version 1.9.3
                    
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="CgdataBase.WPF.Common" Version="1.9.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CgdataBase.WPF.Common" Version="1.9.3" />
                    
Directory.Packages.props
<PackageReference Include="CgdataBase.WPF.Common" />
                    
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 CgdataBase.WPF.Common --version 1.9.3
                    
#r "nuget: CgdataBase.WPF.Common, 1.9.3"
                    
#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 CgdataBase.WPF.Common@1.9.3
                    
#: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=CgdataBase.WPF.Common&version=1.9.3
                    
Install as a Cake Addin
#tool nuget:?package=CgdataBase.WPF.Common&version=1.9.3
                    
Install as a Cake Tool

CgdataBase.WPF.Common

介绍

针对WPF开发的基础库,包含一些常用的WPF控件和辅助类。 引用了CgdataBase.WPF库,在此基础上引用了第三方库,并增加一些常用类。

包含的类:

  1. AppSettingsBase:配置文件的基础类。
  2. AvalonEditBehaviour:对AvalonEdit进行了简单的封装,主要是为了支持MVVM绑定文本。
  3. BindingSelectItemsAttach:对ItemsControl的SelectedItems进行了简单的封装,主要是为了支持MVVM绑定选中的项。
  4. DataGridSelectedItemsBehavior:对DataGrid的SelectedItems进行了简单的封装,主要是为了支持MVVM绑定选中的项。
  5. DockController:对AvalonDock进行了简单的封装。
  6. ElementHelper:对WPF元素的简单封装,主要是获取父元素、子元素等。
  7. FontController:对字体的简单封装,获取系统字体列表。
  8. GridController: 对Grid的行列宽高进行保存和加载。
  9. JsonController:对Json的简单封装。
  10. ListBoxSelectedItemsBehavior:对ListBox的SelectedItems进行了简单的封装,主要是为了支持MVVM绑定选中的项。
  11. PasswordBoxHelper:对PasswordBox进行了简单的封装,主要是为了支持MVVM绑定密码。
  12. PipeController:对命名管道的简单封装,主要用于应用单例启动时唤醒老的进程。
  13. TextCodeGuessHelper: 对文本编码的简单封装,主要是用于猜测文本编码。
  14. ValidationController:对数据验证的简单封装。
引用第三方库
  1. AvalonEdit:WPF的代码编辑器。
  2. DeepCloner:对象深拷贝库。
  3. Extended.Wpf.Toolkit:WPF的扩展控件库,主要是使用里面的AvalonDock(WPF的停靠控件)。
  4. gong-wpf-dragdrop:WPF的拖拽库。
  5. MahApps.Metro.IconPacks:WPF的图标库。
  6. Mapster: 对象映射库。
  7. Microsoft.Xaml.Behaviors.Wpf: WPF的行为库,主要是为了完成DataGridSelectedItemsBehavior和ListBoxSelectedItemsBehavior的绑定行为。
  8. NetMQ:消息队列,主要用于版本检测的功能。
  9. Newtonsoft.Json:Json序列化和反序列化。
  10. NLog:日志库。
  11. Notification.Wpf:WPF的通知库。
  12. Prism.Unity:WPF的MVVM框架。
  13. ReactiveUI:响应式编程库。
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.  net10.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on CgdataBase.WPF.Common:

Package Downloads
CgdataBase.WPF.Plus

Package Description

CgdataBase.WPF.Metro

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.9.3 39 1/6/2026
1.9.2.3 169 12/25/2025
1.9.2.2 114 12/13/2025
1.9.2 171 12/5/2025
1.9.1.3 180 11/25/2025
1.9.1 253 11/22/2025
1.9.0 316 11/21/2025
1.8.3 411 11/20/2025
1.8.2.6 394 11/19/2025
1.8.2.1 402 11/18/2025
1.8.1 401 11/18/2025
1.8.0.5 304 11/17/2025
1.8.0.4 280 11/12/2025
1.8.0 189 11/6/2025