WPF使用来自用户控制器的图像编辑新按钮 [英] WPF editing new button with images from user controller
本文介绍了WPF使用来自用户控制器的图像编辑新按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我无法重复使用按钮并对其进行编辑。我想编辑现有按钮并使用其他名称保存它以再次重复使用。基本上我想创建不同的按钮以便以后重复使用。
I am having difficulties reusing a button and editing it. I want to edit an existing button and saved it with a different name to reused again. Basically I want to create different buttons to reuse them later on.
推荐答案
听起来您想要创建自定义按钮样式并将其应用于多个位置。这应该有所帮助:http://mark-dot-net.blogspot.com/2007/07/creating-custom-wpf-button-template-in.html
Sounds like you want to create a custom button style and apply it in several places. This should help: http://mark-dot-net.blogspot.com/2007/07/creating-custom-wpf-button-template-in.html
这篇关于WPF使用来自用户控制器的图像编辑新按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文