xtd 0.2.0
Loading...
Searching...
No Matches

◆ password_char() [2/2]

virtual text_box & xtd::forms::text_box::password_char ( char32  value)
virtual

Sets the character used to mask characters of a password in a single-line TextBox control.

Parameters
valueThe character used to mask characters entered in a single-line text_box control. Set the value of this property to '0' (U+0000) if you do not want the control to mask characters as they are typed. The default value is '0' (U+0000).
Returns
Current text_box instance.
Remarks
The use_system_password_char property has precedence over the password_char property. Whenever the use_system_password_char is set to true, the default system password character is used and any character set by password_char is ignored.
When the password_char property is set, cut and copy actions in the control using the keyboard cannot be performed.