concept PasswordBox in category silverlight

This is an excerpt from Manning's book Silverlight 4 in Action: Silverlight 4, MVVM, and WCF RIA Services.
Similar to the TextBox but optimized for sensitive data, we have the PasswordBox. The PasswordBox is what you should use when collecting passwords or other data you want masked from view.
Over the course of this section, you’ll learn how to handle basic text entry with the TextBox. In addition, you’ll see how to collect sensitive information, such as passwords, with the PasswordBox. Finally, we’ll look at the ways to collect and format text simultaneously using the RichTextBox.
This example shows a default PasswordBox and a custom PasswordChar to show how Silverlight takes a small step beyond the masking approach used in HTML. Still, once a user enters information into these fields, you’ll probably need to retrieve it. This is possible thanks to the Password property.
The Password property is a string that represents the value in a PasswordBox. This property can be programmatically set and retrieved. Interestingly, this value can’t be copied or cut at runtime by a user. This restriction is designed to ensure a user’s password remains protected, short of hacker heroics such as wiring a debugger to the code and inspecting values. To provide this feature, along with the general input control features, the PasswordBox needs to derive from the Control class instead of the TextBox class.