类比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)
Posted Lulus
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Action相关的知识,希望对你有一定的参考价值。
类比command
解决command参数限制问题
在Blend中利用资产设置
拖拽到下方目标空间
选中action,在设置中进行设置
https://sshumakov.com/2012/10/22/how-to-create-and-use-actions-in-wpf/
以上是关于Action的主要内容,如果未能解决你的问题,请参考以下文章