Anh.WPFTemplateLib 14.23.8913.2258

There is a newer version of this package available.
See the version list below for details.
dotnet add package Anh.WPFTemplateLib --version 14.23.8913.2258                
NuGet\Install-Package Anh.WPFTemplateLib -Version 14.23.8913.2258                
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="Anh.WPFTemplateLib" Version="14.23.8913.2258" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Anh.WPFTemplateLib --version 14.23.8913.2258                
#r "nuget: Anh.WPFTemplateLib, 14.23.8913.2258"                
#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.
// Install Anh.WPFTemplateLib as a Cake Addin
#addin nuget:?package=Anh.WPFTemplateLib&version=14.23.8913.2258

// Install Anh.WPFTemplateLib as a Cake Tool
#tool nuget:?package=Anh.WPFTemplateLib&version=14.23.8913.2258                

WPF 帮助类库,包含:
01、MVVM 基础支持类(BindableBase、RelayCommand 等)。
02、WPF 帮助类(BindingProxy、ResourceBinding、MediaColorHelper 等)。
03、一些附加属性帮助类(WpfXamlPropProxy、ExportPicAttached、WpfTouchScrollHelper 等)。
04、行为类(DragInCanvasBehavior、SelectedItemBehavior)。
05、一些样式(<ResourceDictionary Source="pack://application:,,,/Anh.WPFTemplateLib;component/Styles/StyleDictionary.xaml" />)
06、一些转换器(<ResourceDictionary Source="pack://application:,,,/Anh.WPFTemplateLib;component/WpfConverters/ConverterDictionary.xaml" />)
07、一个配置属性系统。
08、一些控件(Toast、ToastTextBlock、SystemDropShadowChrome)。
09、一些用户控件(UC_InfoRegion、CircleWithTextBox、UC_Wait、UC_ConfirmBox 等)。
10、类型转换器(EnumDescriptionTypeConverter)。

使用方法详见:
1、https://gitee.com/dlgcy/DLGCY_WPFPractice
2、https://gitee.com/dlgcy/WPFTemplate
3、https://gitee.com/DLGCY_Clone/WpfToast

大部分是搬运修改网上的资源,少部分是自己原创,以自用为主,感兴趣的朋友也可以使用,欢迎交流讨论(微信公众号:独立观察员博客)。

版本发布说明:
3.23.0806.1156 添加 AnhWpfHelper.IsInDesignMode 是否为设计器模式
4.23.0806.1506 优化空引用问题和生成警告等
5.23.0806.1531 优化空引用问题和生成警告等
6.23.0810.2036 优化 Toast.Show 由于不是 STA 线程引发的问题。主要是多线程等其它情况调用时引发的。
7.23.0810.2058 优化 Toast.Show 由于不是 STA 线程引发的问题。主要是多线程等其它情况调用时引发的。
8.23.0810.2124 添加 Anh Wpf MessageBox.Show 更稳定 (优化 Toast.Show 由于不是 STA 线程引发的问题。主要是多线程等其它情况调用时引发的)
9.23.0811.2309 右下角任务栏图标 AnhNotifyIconHelp
10.23.0812.1057 右下角任务栏图标 AnhNotifyIconHelp 点击图标显示时激活窗体
11.23.0812.2252 修正字体颜色异常问题
12.23.0822.2311 添加转换器 ObjectToJsonConverter
13.23.0823.1019 优化设计时 报错问题,WpfScreen 类的报错
14.23.08913.2258 优化Toast.Show显示时宽度不正常的BUG

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net7.0-windows7.0 is compatible.  net8.0-windows was computed.  net8.0-windows7.0 is compatible. 
.NET Framework net472 is compatible.  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
28.24.10409.1528 181 4/9/2024
27.24.10227.2328 401 2/26/2024
26.24.10203.1725 544 2/3/2024
24.24.121.1546 606 1/21/2024
23.24.121.1534 604 1/21/2024
22.24.118.1804 647 1/18/2024
21.24.117.1645 588 1/17/2024
20.23.1117.40 852 11/16/2023
20.23.1116.2357 715 11/16/2023
19.23.1028.109 838 10/27/2023
18.23.1027.2036 796 10/27/2023
17.23.1027.1909 828 10/27/2023
16.23.923.2311 854 9/23/2023
15.23.8913.2346 898 9/13/2023
14.23.8913.2258 928 9/13/2023
13.23.823.1019 989 8/23/2023
12.23.822.2311 919 8/22/2023
11.23.812.2252 965 8/12/2023
10.23.812.1057 1,041 8/12/2023
9.23.811.2309 974 8/11/2023
8.23.810.2124 1,006 8/10/2023
7.23.810.2058 1,054 8/10/2023
6.23.810.2036 941 8/10/2023
5.23.806.1531 1,004 8/6/2023
3.23.806.1506 1,096 8/6/2023
3.23.806.1156 1,056 8/6/2023
2.23.806.1108 1,014 8/6/2023
1.23.806.1057 1,039 8/6/2023

1、新增转换器:媒体颜色转画刷、bool 转 Grid 行/列 中的 高/宽;
2、添加一个能绑定 RadioButton 组的 SelectedItem 的行为(来自于B站UP主);
3、添加媒体颜色帮助类(比较颜色是否相似)。