类比command
解决command参数限制问题
使用
在Blend中利用资产设置
拖拽到下方目标空间
![](https://upload-images.jianshu.io/upload_images/9128511-0877f76620808ef9.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/360)
选中action,在设置中进行设置
![](https://upload-images.jianshu.io/upload_images/9128511-8202126d4f47d7bd.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/347)
![](https://upload-images.jianshu.io/upload_images/9128511-c6b2fe505191d75b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/373)
例子
https://sshumakov.com/2012/10/22/how-to-create-and-use-actions-in-wpf/
![](https://upload-images.jianshu.io/upload_images/9128511-7a76dab8aac8c2a4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/700)
类比command
解决command参数限制问题
在Blend中利用资产设置
拖拽到下方目标空间
选中action,在设置中进行设置
https://sshumakov.com/2012/10/22/how-to-create-and-use-actions-in-wpf/