如何在WinRT中将InputScope属性添加到PasswordBox? [英] How can I add InputScope property to PasswordBox in WinRT?

查看:111
本文介绍了如何在WinRT中将InputScope属性添加到PasswordBox?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将Input Scope属性添加到用户控件的PasswordBox中?

How can I add Input Scope property to my User Control's PasswordBox?

请您向我解释一下吗?

谢谢。

推荐答案

根据我所拥有的信息,PasswordBox在winrt中没有Input Scope属性,因此您无法直接进行设置。如果要这样做,则必须制作单独的自定义控件。要定义自己的自定义控件,您已经在 Windows开发中心上阅读了该控件。或者干脆用google搜索它。 /timheuer.com/blog/archive/2012/03/07/creating-custom-controls-for-metro-style-apps.aspx rel = nofollow>此链接。.

according to the information i have PasswordBox does not have Input Scope Property in winrt so you can't set it directly. if you want do it you have to make your separate custom control. For defining your own Custom control you have read it on Windows Development Center..or simply google it..hope it helps you.. you can use this link..

这篇关于如何在WinRT中将InputScope属性添加到PasswordBox?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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