Anh.WPFTemplateLib 3.23.806.1156

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

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

自用的 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 是否为设计器模式

Product Compatible and additional computed target framework versions.
.NET net5.0-windows7.0 is compatible.  net6.0-windows was computed.  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 152 4/9/2024
27.24.10227.2328 386 2/26/2024
26.24.10203.1725 530 2/3/2024
24.24.121.1546 585 1/21/2024
23.24.121.1534 590 1/21/2024
22.24.118.1804 629 1/18/2024
21.24.117.1645 569 1/17/2024
20.23.1117.40 840 11/16/2023
20.23.1116.2357 695 11/16/2023
19.23.1028.109 818 10/27/2023
18.23.1027.2036 779 10/27/2023
17.23.1027.1909 802 10/27/2023
16.23.923.2311 831 9/23/2023
15.23.8913.2346 878 9/13/2023
14.23.8913.2258 911 9/13/2023
13.23.823.1019 968 8/23/2023
12.23.822.2311 901 8/22/2023
11.23.812.2252 944 8/12/2023
10.23.812.1057 1,017 8/12/2023
9.23.811.2309 954 8/11/2023
8.23.810.2124 990 8/10/2023
7.23.810.2058 1,035 8/10/2023
6.23.810.2036 923 8/10/2023
5.23.806.1531 986 8/6/2023
3.23.806.1506 1,078 8/6/2023
3.23.806.1156 1,034 8/6/2023
2.23.806.1108 998 8/6/2023
1.23.806.1057 1,025 8/6/2023

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