Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

TextBox

Silverlight for Windows Phone includes three controls designed for text entry: TextBox, PasswordBox, and RichTextBox. Text can be entered either by using the onscreen keyboard known as the Software Input Panel (SIP) or by using the hardware keyboard if the phone has one.

The TextBox control displays content as well as allowing the user to type or edit content. A TextBox can display text on a single line, or on multiple lines. A multiline TextBox wraps text to the width of the control.

Text is stored as a System.String, using the TextBox.Text property. The alignment of the text can be changed using the TextAlignment property. Text is displayed according to various font related properties, shown earlier in Table 6.1.

Software Input Panel


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint