Chapter 11. Editing plain and rich text
This chapter covers
Collecting and displaying text is a vital part of almost every web application. Silver-light provides several controls designed to make this important task easy. Silverlight supports standard keyboard text input as well as input from input method editors (IMEs).
The most basic text input control is the TextBox. For most forms and other simple data, this is the control you’ll use to capture input. TextBox supports all the usual text entry functions, as well as multiline input.
Similar to the TextBox but optimized for sensitive data is the PasswordBox. The PasswordBox is what you should use when collecting passwords or other data you want masked from view.
Of course, if all that the platform supported were the display of text, you’d be pretty limited in the types of applications you build. In addition to its display capabilities, Silverlight includes first-class support for editing text, both plain and rich text formats.
If you can enter and edit text, you may find yourself wanting to copy and paste it between various applications. Silverlight also includes facilities to enable programmatic manipulation of the clipboard to share data within the same application and across applications.