Anh.WPFTemplateLib
5.23.806.1531
See the version list below for details.
dotnet add package Anh.WPFTemplateLib --version 5.23.806.1531
NuGet\Install-Package Anh.WPFTemplateLib -Version 5.23.806.1531
<PackageReference Include="Anh.WPFTemplateLib" Version="5.23.806.1531" />
paket add Anh.WPFTemplateLib --version 5.23.806.1531
#r "nuget: Anh.WPFTemplateLib, 5.23.806.1531"
// Install Anh.WPFTemplateLib as a Cake Addin #addin nuget:?package=Anh.WPFTemplateLib&version=5.23.806.1531 // Install Anh.WPFTemplateLib as a Cake Tool #tool nuget:?package=Anh.WPFTemplateLib&version=5.23.806.1531
自用的 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 优化空引用问题和生成警告等
Product | Versions 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. |
-
.NETFramework 4.7.2
- MaterialDesignThemes (>= 4.9.0)
- Newtonsoft.Json (>= 13.0.3)
- PropertyChanged.Fody (>= 4.1.0)
- System.Drawing.Common (>= 7.0.0)
-
.NETFramework 4.8
- MaterialDesignThemes (>= 4.9.0)
- Newtonsoft.Json (>= 13.0.3)
- PropertyChanged.Fody (>= 4.1.0)
- System.Drawing.Common (>= 7.0.0)
-
net6.0-windows7.0
- MaterialDesignThemes (>= 4.9.0)
- Newtonsoft.Json (>= 13.0.3)
- PropertyChanged.Fody (>= 4.1.0)
- System.Drawing.Common (>= 7.0.0)
-
net7.0-windows7.0
- MaterialDesignThemes (>= 4.9.0)
- Newtonsoft.Json (>= 13.0.3)
- PropertyChanged.Fody (>= 4.1.0)
- System.Drawing.Common (>= 7.0.0)
-
net8.0-windows7.0
- MaterialDesignThemes (>= 4.9.0)
- Newtonsoft.Json (>= 13.0.3)
- PropertyChanged.Fody (>= 4.1.0)
- System.Drawing.Common (>= 7.0.0)
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、添加媒体颜色帮助类(比较颜色是否相似)。