InputPanel for WinForms帮助文档
PasswordChar 属性






Gets or sets the character used to mask characters of a password in the InputTextBox.
语法
'声明
 
<System.ComponentModel.LocalizableAttribute(True)>
<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<C1CategoryAttribute("行为")>
<C1DescriptionAttribute("在InputTextBox中用作密码掩码字符的字符。")>
<System.ComponentModel.DefaultValueAttribute()>
Public Property PasswordChar As System.Char
'用法
 
Dim instance As InputTextBox
Dim value As System.Char
 
instance.PasswordChar = value
 
value = instance.PasswordChar
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
[C1Category("行为")]
[C1Description("在InputTextBox中用作密码掩码字符的字符。")]
[System.ComponentModel.DefaultValue()]
public System.char PasswordChar {get; set;}
public read-write property PasswordChar: System.Char; 
System.ComponentModel.LocalizableAttribute()
System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)
C1CategoryAttribute("行为")
C1DescriptionAttribute("在InputTextBox中用作密码掩码字符的字符。")
System.ComponentModel.DefaultValueAttribute()
public function get,set PasswordChar : System.char
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
[C1Category("行为")]
[C1Description("在InputTextBox中用作密码掩码字符的字符。")]
[System.ComponentModel.DefaultValue()]
public: __property System.char get_PasswordChar();
public: __property void set_PasswordChar( 
   System.char value
);
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
[C1Category("行为")]
[C1Description("在InputTextBox中用作密码掩码字符的字符。")]
[System.ComponentModel.DefaultValue()]
public:
property System.char PasswordChar {
   System.char get();
   void set (    System.char value);
}
需求

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

请参见

引用

InputTextBox 类
InputTextBox 成员

Send Feedback