_OlkTextBox.PasswordChar Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets a String (string in C#) that specifies a placeholder character that is to be displayed repetitively as a string instead of the actual characters entered in the text box. Read/write.
public:
property System::String ^ PasswordChar { System::String ^ get(); void set(System::String ^ value); };
public string PasswordChar { get; set; }
Public Property PasswordChar As String
Property Value
Remarks
A common application of setting this property to True is password entry, where you would not want to display the actual characters of the password that the user enters in the text box. The default value is an empty string.
Only one character is accepted for the value of this property. If a string of more than one character is set, only the first character will be used as the placeholder character and the rest will be ignored.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應