如何在单击另一个按钮时使按钮不可见. [英] How to make invisible a button when another is clicked.

查看:98
本文介绍了如何在单击另一个按钮时使按钮不可见.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的页面上有2个按钮(登录"和填写"),我要做的只是制作
单击登录"按钮(或被触发)时,填充按钮不可见.
请执行此操作.

I have 2 buttons on my page (Login and Fill),what I need is just to make
invisible the fill button when a Login Button is clicked(or get fired).
Please how to do that.

推荐答案

尝试:
butFill.Visible = false;


Button.Visibility = System.Windows.Visibility.Hidden或更改内容使用同一按钮.
Button.Visibility = System.Windows.Visibility.Hidden or Use the same button by changing it content.


这篇关于如何在单击另一个按钮时使按钮不可见.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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