Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomTextEditProperties.PasswordChar Property

Specifies the character (if any) to display in place of the actual characters typed into an editor.

#Declaration

Delphi
property PasswordChar: TCaptionChar read; write; default #0;

#Property Value

Type
TCaptionChar

#Remarks

Use the PasswordChar property to specify a special character, which will be displayed in the place of any text entered into the editor. To enable this mode, set the EchoMode property to eemPassword.

If the PasswordChar property is set to the null character (ANSI character zero), the editor displays its text normally. If the PasswordChar property is assigned any other character, the editor displays this character in place of each character typed in. The PasswordChar property affects the appearance of the editor’s display text only. The value of the Text property reflects the actual characters that are typed in.

See Also