关于混合按钮的问题 [英] A Question About Buttons In Blend

查看:58
本文介绍了关于混合按钮的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在正在尝试了解Blend以及可能/不可能的内容,我有一个问题:是否可以在Blend之外的应用程序中创建自己的自定义按钮,并将按钮及其各种状态导入混合并以这种方式使用它们?或者是否必须在Blend中创建所有不同的按钮状态?我想我正在试图看看是否有可能让Blend替换另一个位图/ png / jpg来模拟翻转状态或翻转状态。

谢谢!

I'm just now trying to learn about Blend and what's possible/not possible, and I had a question: Is it possible to create your own custom buttons in an application outside of Blend and import the buttons and their various states into Blend and use them that way? Or do all the different button states have to be created in Blend itself? I guess I'm trying to see if it's possible to have Blend substitute one bitmap/png/jpg for another to simulate a rollover state or a down state.

Thanks!

推荐答案

您好,

您可以使用表达式设计并创建一个按钮并将其导出到xaml并在表达式混合中使用它。

您可以添加一个形状/图像,您可以使用菜单工具 - >生成按钮将其转换为按钮...

请通过以下链接...好例子

http://msdn.microsoft.com/en-us/library/bb613598.aspx
http://blogs.msdn.com/expression/pages/creating-a-vista -style-button-template.aspx
http://www.codeproject.com/KB /WPF/glassbuttons.aspx

我希望这会对你有所帮助:)


Hi,

you can use expression design and create a button and export it to xaml and use it in expression blend.

you can add a shape/image and you can convert it to button by using menu  Tools->Make Button...

please go through the following links... good example

http://msdn.microsoft.com/en-us/library/bb613598.aspx
http://blogs.msdn.com/expression/pages/creating-a-vista-style-button-template.aspx
http://www.codeproject.com/KB/WPF/glassbuttons.aspx


I hope this will help you :)



这篇关于关于混合按钮的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆