AutomationCore.Wpf
1.5.1
See the version list below for details.
dotnet add package AutomationCore.Wpf --version 1.5.1
NuGet\Install-Package AutomationCore.Wpf -Version 1.5.1
<PackageReference Include="AutomationCore.Wpf" Version="1.5.1" />
<PackageVersion Include="AutomationCore.Wpf" Version="1.5.1" />
<PackageReference Include="AutomationCore.Wpf" />
paket add AutomationCore.Wpf --version 1.5.1
#r "nuget: AutomationCore.Wpf, 1.5.1"
#:package AutomationCore.Wpf@1.5.1
#addin nuget:?package=AutomationCore.Wpf&version=1.5.1
#tool nuget:?package=AutomationCore.Wpf&version=1.5.1
用法
Step 1: 添加 AutomationCore.WPF 引用,或在 nuget 上搜索 AutomationCore.WPF;
Install-Package AutomationCore.WPF
Step 2: 在 App.xaml 中添加如下代码:
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/AutomationCore.Wpf;component/Themes/Generic.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
Step 3: 添加命名空间:
xmlns:hc="https://handyorg.github.io/handycontrol"
控件使用
详细用法见HandyControl
PropertyGrid
<hc:PropertyGrid SelectedObject="{Binding SelectedObject}" />
原HandyControl中的PropertyGrid控件已移除 基于PropertyTools创建,修改及新增了部分样式
Nest
[Nest]
public NestClass Property { get; set; } = new();
标记为[Nest]的属性带有扩展按钮,点击可弹出窗口编辑Property的子属性
PopupBox
<hc:PopupBox ToggleContent="{Binding Header}">
</hc:PopupBox>
弹出窗口编辑器,点击可编辑内容
BrushPickerBox
<hc:BrushPickerBox SelectedBrush="{Binding SelectedBrush}" />
画刷颜色选择器,点击可弹出Popup选择颜色,基于[BrushPickerBox]创建
ZoomImageBox
<hc:ZoomImageBox Source="图片路径"/>
图片显示控件,可鼠标拖动及缩放
ZoomImageBox
<hc:ZoomImageBox Source="图片路径"/>
图片显示控件,可鼠标拖动及缩放
DragDrop
hc:DragDrop.IsDragSource="True"
hc:DragDrop.IsDropTarget="True"
[ListBox]、[ListView]、[TreeView]、[DataGrid]等集合控件的附加属性,可实现鼠标拖放排序插入功能
ValueConverters
命名空间
xmlns:converters="http://schemas.superdev.ch/valueconverters/2016/xaml"
带有大多数的值转换器,也可以通过转换器组合实现复杂的数值转换
<converts:ValueConverterGroup x:Key="NullToVisible">
<converts:StringIsNotNullOrEmptyConverter />
<converts:BoolToVisibilityConverter />
</converts:ValueConverterGroup>
该转换器为将string为null时的数据转换为Visibility.Collapsed
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
-
net8.0-windows7.0
- AutomationCore.Extension (>= 1.0.1)
- AutomationCore.IO (>= 1.3.0)
- AutomationCore.Keygen (>= 1.3.0)
- AutomationWpf.AvalonDock (>= 1.0.1)
- AutomationWpf.AvalonDock.Theme.VS2013 (>= 1.0.1)
- AutomationWpf.Nodify (>= 1.0.1)
- AutomationWpf.UI (>= 1.5.1)
- AutomationWpf.ValueConverters (>= 1.0.1)
- log4net (>= 3.2.0)
- Newtonsoft.Json (>= 13.0.4)
- Prism.DryIoc (>= 9.0.537)
- ScottPlot.WPF (>= 5.0.56)
- SharpVectors (>= 1.8.5)
- Stateless (>= 5.20.0)
- System.Drawing.Common (>= 10.0.0)
- System.IO.Ports (>= 10.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 |
|---|---|---|
| 1.7.3 | 90 | 1/8/2026 |
| 1.7.2 | 83 | 1/1/2026 |
| 1.7.1 | 82 | 1/1/2026 |
| 1.7.0 | 172 | 12/25/2025 |
| 1.6.9 | 176 | 12/25/2025 |
| 1.6.8 | 156 | 12/20/2025 |
| 1.6.7 | 267 | 12/16/2025 |
| 1.6.6 | 421 | 12/11/2025 |
| 1.6.3 | 433 | 12/10/2025 |
| 1.6.2 | 188 | 12/5/2025 |
| 1.6.1 | 200 | 12/5/2025 |
| 1.6.0 | 193 | 12/4/2025 |
| 1.5.8 | 670 | 12/3/2025 |
| 1.5.7 | 677 | 12/2/2025 |
| 1.5.4 | 409 | 11/18/2025 |
| 1.5.3 | 309 | 11/17/2025 |
| 1.5.2 | 168 | 11/15/2025 |
| 1.5.1 | 233 | 11/14/2025 |
| 1.4.0 | 188 | 11/7/2025 |
| 1.3.0 | 193 | 11/4/2025 |
| 1.2.0 | 202 | 11/4/2025 |
| 1.1.0 | 199 | 11/4/2025 |
| 1.0.5 | 198 | 10/31/2025 |
| 1.0.2 | 205 | 10/30/2025 |
| 1.0.1 | 202 | 10/29/2025 |
无