WPFTemplateLib 6.24.11.2001

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

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

WPF 帮助类库,包含但不限于以下内容:
01、MVVM 基础支持类(命令:RelayCommand;绑定:ObservableObject、SimpleBindableBase、NotifyDataErrorObject、ViewModelBase)。
02、WPF 帮助类(BindingProxy、ResourceBinding、MediaColorHelper、FrameworkElementHelper、ConverterHelper 等)。
03、附加属性帮助类(WpfXamlPropProxy、BringIntoViewBehavior、ExportPicAttached、WpfTouchScrollHelper、GridHelper、FocusAttached、DataGridAttached、
TextBoxAttached、LabelAttached、RadioButtonAttached、RotateToTranslateAttachedV2、LocationTargetRenderOriginAttached、TabControlAttached 等)。

04、行为类(DragInCanvasBehavior、SelectedItemBehavior、AttachAdornerBehavior 等)。
05、样式(<ResourceDictionary Source="pack://application:,,,/WPFTemplateLib;component/Styles/StyleDictionary.xaml" />);
默认主题(不引入则不设置默认样式)(<ResourceDictionary Source="pack://application:,,,/WPFTemplateLib;component/Styles/DefaultThemeDictionary.xaml" />);
颜色主题(部分控件有效):[默认]蓝色(*/Light.Blue.xaml)、绿色(<ResourceDictionary Source="pack://application:,,,/WPFTemplateLib;component/Themes/Light.Green.xaml" />)。

06、转换器("<ResourceDictionary Source="pack://application:,,,/WPFTemplateLib;component/WpfConverters/ConverterDictionary.xaml" />)
07、配置属性系统(ConfigManager)。
08、自定义控件(Toast、ToastTextBlock、SystemDropShadowChrome、XUI:Form、PanelWithMessage、CircleWithInOutText、PP:CornerClip、FlipableControl、
FlipableContentControl、Handy:UniformSpacingPanel、PP:DateTimePicker、PP:SimplePanel 等)。

09、用户控件(UC_InfoRegion、CircleWithTextBox、UC_Wait、UC_ConfirmBox 等)。
10、类型转换器(EnumDescriptionTypeConverter)。
11、在行为中使用的事件触发器(RoutedEventTrigger)。
12、增强类(FixedCountObservableCollection、RangeObservableCollection 等)。
13、一个常用值类 CommonValues(目前有两个布尔值:TrueValue、FalseValue)。

基础说明:
- Xaml 命名空间:xmlns:lib="https://gitee.com/dlgcy/WPFTemplateLib" 。
- 样式以"LibSty"开头,控件模版以"LibTpl"开头。
- 转换器列表:https://gitee.com/dlgcy/WPFTemplateLib/blob/master/WpfConverters/ConverterDictionary.xaml
- 默认主题的内容:https://gitee.com/dlgcy/WPFTemplateLib/blob/master/Styles/DefaultThemeDictionary.xaml

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

大部分是搬运修改网上的资源,少部分是自己原创,以自用为主,感兴趣的朋友也可以使用,欢迎交流讨论(微信公众号:独立观察员博客)。
免责声明:本库及维护者不对使用产生的任何问题负责,请自行充分测试。
严正声明:禁止在 996 以及相似类型的公司中使用本库。

***********************************************
更新内容:
1、[扩充] WpfXamlPropProxy 中添加 BackgroundWhenOn、ForegroundWhenOn、BorderBrushWhenOn。
2、[新增] [自定义控件] 从 PP.WPF 迁移 DateTimePicker 控件(日期时间选择器)及配套内容:
- 原始 DateTimePicker 样式 [LibSty.DateTimePicker.Default],以及新增的英文版样式(日历部分需要系统切换为英文语言)[LibSty.DateTimePicker.English]。
- 迁移附加属性托管类:lib:BackgroundElement、BorderElement、ForegroundElement、IconElement、PopupElement、ScrollBarElement、TextElement、WindowElement。
- 迁移 SimplePanel 控件。
- 迁移颜色主题文件 Light.Blue.xaml 和 Light.Green.xaml。
- 迁移一些按钮样式 LibSty.Button.PP.* 。
- 迁移一些滚动样式 LibSty.ScrollViewer.PP.* 。
- 迁移一个转换器 StringToVisibilityConverter(字符串转显示模式)。
- 迁移日历样式 LibSty.Calendar.PP 。
***********************************************

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net9.0-windows was computed. 
.NET Framework net472 is compatible.  net48 was computed.  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
6.25.1.2102 102 1/21/2025
6.25.1.2101 77 1/21/2025
6.25.1.1701 96 1/17/2025
6.25.1.1001 90 1/10/2025
6.25.1.901 98 1/9/2025
6.24.12.3101 82 12/31/2024
6.24.12.2601 93 12/26/2024
6.24.12.2302 95 12/23/2024
6.24.12.2301 100 12/23/2024
6.24.12.2101 83 12/21/2024
6.24.12.1001 102 12/10/2024
6.24.12.501 110 12/5/2024
6.24.12.201 95 12/2/2024
6.24.11.2101 106 11/21/2024
6.24.11.2002 113 11/20/2024
6.24.11.2001 100 11/20/2024
6.24.11.1101 125 11/11/2024
6.24.11.401 104 11/4/2024
6.24.11.301 104 11/3/2024
5.24.10.3002 105 10/30/2024
5.24.10.3001 94 10/30/2024
5.24.10.2402 104 10/24/2024
5.24.10.2101 83 10/21/2024
5.24.10.2001 94 10/20/2024
5.24.10.901 113 10/9/2024
5.24.9.2901 108 9/29/2024
5.24.9.2501 103 9/25/2024
5.24.9.2301 110 9/23/2024
5.24.9.1301 122 9/13/2024
5.24.9.802 109 9/8/2024
5.24.9.102 129 9/1/2024
5.24.8.2902 136 8/29/2024
5.24.8.2001 132 8/20/2024
5.24.8.1801 142 8/18/2024
5.24.8.1502 163 8/15/2024
5.24.8.1501 130 8/15/2024
5.24.8.401 121 8/4/2024
5.24.7.3001 81 7/30/2024
5.24.7.2800 106 7/28/2024
5.24.7.2500 92 7/25/2024
5.24.7.2301 147 7/23/2024
5.24.7.2100 131 7/21/2024
5.24.7.1601 134 7/16/2024
4.24.7.300 132 7/3/2024
4.24.6.1800 123 6/18/2024
4.24.6.1700 133 6/17/2024
4.24.6.1000 110 6/10/2024
4.24.6.800 112 6/8/2024
4.24.5.3100 127 5/31/2024
4.24.5.2600 126 5/26/2024
4.24.5.1400 114 5/14/2024
4.24.5.800 154 5/8/2024
4.24.5.500 157 5/5/2024
4.24.4.2900 125 4/29/2024
4.24.4.2800 123 4/28/2024
4.24.4.2500 156 4/25/2024
4.24.4.2400 132 4/24/2024
4.24.4.2100 131 4/21/2024
3.24.4.1900 143 4/19/2024
3.24.4.1100 129 4/11/2024
3.24.4.100 199 4/1/2024
3.24.3.3100 147 3/31/2024
3.24.3.2700 167 3/27/2024
2.24.3.1500 200 3/15/2024
1.24.3.1202 209 3/12/2024
1.24.3.1201 221 3/12/2024
1.24.3.1200 249 3/12/2024
1.24.3.800 213 3/8/2024
1.24.2.2200 230 2/23/2024
1.23.12.2800 345 12/28/2023
1.23.8.3001 341 8/30/2023
1.0.23.51301 367 5/13/2023
1.0.23.40401 379 4/4/2023
1.0.23.40301 365 4/3/2023
1.0.23.32701 434 3/27/2023
1.0.23.31401 399 3/14/2023

见 Description。