Anh.WPFTemplateLib
3.23.806.1156
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
<PackageReference Include="Anh.WPFTemplateLib" Version="3.23.806.1156" />
paket add Anh.WPFTemplateLib --version 3.23.806.1156
#r "nuget: Anh.WPFTemplateLib, 3.23.806.1156"
// 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 | Versions 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. |
-
.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)
-
net5.0-windows7.0
- 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 | 198 | 4/9/2024 |
27.24.10227.2328 | 409 | 2/26/2024 |
26.24.10203.1725 | 552 | 2/3/2024 |
24.24.121.1546 | 612 | 1/21/2024 |
23.24.121.1534 | 610 | 1/21/2024 |
22.24.118.1804 | 653 | 1/18/2024 |
21.24.117.1645 | 594 | 1/17/2024 |
20.23.1117.40 | 862 | 11/16/2023 |
20.23.1116.2357 | 721 | 11/16/2023 |
19.23.1028.109 | 844 | 10/27/2023 |
18.23.1027.2036 | 802 | 10/27/2023 |
17.23.1027.1909 | 834 | 10/27/2023 |
16.23.923.2311 | 860 | 9/23/2023 |
15.23.8913.2346 | 904 | 9/13/2023 |
14.23.8913.2258 | 951 | 9/13/2023 |
13.23.823.1019 | 995 | 8/23/2023 |
12.23.822.2311 | 925 | 8/22/2023 |
11.23.812.2252 | 971 | 8/12/2023 |
10.23.812.1057 | 1,047 | 8/12/2023 |
9.23.811.2309 | 980 | 8/11/2023 |
8.23.810.2124 | 1,012 | 8/10/2023 |
7.23.810.2058 | 1,060 | 8/10/2023 |
6.23.810.2036 | 947 | 8/10/2023 |
5.23.806.1531 | 1,010 | 8/6/2023 |
3.23.806.1506 | 1,102 | 8/6/2023 |
3.23.806.1156 | 1,064 | 8/6/2023 |
2.23.806.1108 | 1,020 | 8/6/2023 |
1.23.806.1057 | 1,045 | 8/6/2023 |
1、新增转换器:媒体颜色转画刷、bool 转 Grid 行/列 中的 高/宽;
2、添加一个能绑定 RadioButton 组的 SelectedItem 的行为(来自于B站UP主);
3、添加媒体颜色帮助类(比较颜色是否相似)。