Partager via


PasswordChar

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the masking character for the PasswordBox.

<object PasswordChar="char" .../>
value = object.PasswordChar
object.PasswordChar = value

Property Value

Type: char

A single character representing the masking character.

This property is read/write. The default is empty string.

Managed Equivalent

PasswordChar

Applies To

PasswordBox

Version Information

Silverlight 2