Password

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

Gets or sets the password currently held by the PasswordBox.

<object Password="string" .../>
value = object.Password
object.Password = value

Property Value

Type: string

A string representing the password.

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

Managed Equivalent

Password

Applies To

PasswordBox

Version Information

Silverlight 2