C# 如何从 PasswordBox 获取文本值? [英] C# how to get text value from PasswordBox?

查看:27
本文介绍了C# 如何从 PasswordBox 获取文本值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 PasswordBox.输入完成后如何从 PasswordBox 获取输入值?

I have a PasswordBox. how can I get the input value from the PasswordBox after the input has been finished?

推荐答案

您可以从 Password 属性中获取.

You can get it from the Password property.

这篇关于C# 如何从 PasswordBox 获取文本值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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