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

◆ password_char() [1/2]

virtual char32 xtd::forms::text_box::password_char ( ) const
virtualnoexcept

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

Returns
The 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).
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.