Anh.WPFTemplateLib 7.23.810.2058

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

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

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 线程引发的问题。主要是多线程等其它情况调用时引发的。

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 184 4/9/2024
27.24.10227.2328 402 2/26/2024
26.24.10203.1725 547 2/3/2024
24.24.121.1546 607 1/21/2024
23.24.121.1534 605 1/21/2024
22.24.118.1804 648 1/18/2024
21.24.117.1645 589 1/17/2024
20.23.1117.40 855 11/16/2023
20.23.1116.2357 716 11/16/2023
19.23.1028.109 839 10/27/2023
18.23.1027.2036 797 10/27/2023
17.23.1027.1909 829 10/27/2023
16.23.923.2311 855 9/23/2023
15.23.8913.2346 899 9/13/2023
14.23.8913.2258 946 9/13/2023
13.23.823.1019 990 8/23/2023
12.23.822.2311 920 8/22/2023
11.23.812.2252 966 8/12/2023
10.23.812.1057 1,042 8/12/2023
9.23.811.2309 975 8/11/2023
8.23.810.2124 1,007 8/10/2023
7.23.810.2058 1,055 8/10/2023
6.23.810.2036 942 8/10/2023
5.23.806.1531 1,005 8/6/2023
3.23.806.1506 1,097 8/6/2023
3.23.806.1156 1,059 8/6/2023
2.23.806.1108 1,015 8/6/2023
1.23.806.1057 1,040 8/6/2023

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