germaui.blogg.se

Text box online
Text box online





text box online

It's common to use a text box to accept data input on a form, and use the Text property to get the complete text string from the text box. Here's the text box that results from this XAML. TextBox.PlaceholderText = "Type your notes here" Here's the XAML for a simple text box with a header and placeholder text.

  • Get the XAML Controls Gallery app (Microsoft Store).
  • If you have the XAML Controls Gallery app installed, click here to open the app and see the TextBox in action. Use a RichEditBox to display and edit rich text files.įor more info about choosing the right text control, see the Text controls article. Use an AutoSuggestBox control to let the user enter search terms or to show the user a list of suggestions to choose from as they type.

    text box online

    #Text box online password

    A password box looks like a text input box, except that it renders bullets in place of the text that has been entered. Use a PasswordBox control to collect a password or other private data, such as a Social Security number. If the text is never editable, consider using a TextBlock instead. You can make a TextBox read-only, but this should be a temporary, conditional state. You can use the Text property to get and set the text in a TextBox. Use a TextBox control to let a user enter and edit unformatted text, such as in a form. Platform APIs: TextBox class, Text property Is this the right control?







    Text box online