表达式混合4中的超链接按钮 [英] Hyperlink button in expression blend 4

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

问题描述

我的 silverlight 4应用程序中有一个超链接按钮。当我点击它的边框时, 按钮显示。我已经尝试了alpha属性和边框画笔来隐藏它......但没有用。需要帮助!

I have a hyperlink button in my silverlight 4 application .The moment I click it the border of  the button displays.I have tried alpha property and border brushes to hide it...but of no use.Need HELP!

推荐答案

这是模板。

 

要删除它:

右键单击您的超链接按钮,选择编辑模板,编辑副本

Right click your hyperlinkbutton, select edit template, edit a copy

命名您的副本

选择州面板

选择焦点状态,你应该看到你不想要的边框

Select the focused state, you should see the border you don't want

在对象和时间轴面板中选择focusVisualElement

Select the focusVisualElement in the objects and timeline panel

将其不透明度设置为0

Set its opacity to 0

再次选择基本状态,运行,你不应再看到点击/焦点上的边框

Select the base state again, run, you should no longer see the border on click/focus


这篇关于表达式混合4中的超链接按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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