You typically use an event like a submit button click to access the Text property, but you can handle the TextChanged or TextChanging event if you need to do something when the text changes. 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.
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.
![text box online text box online](https://www.online-tech-tips.com/wp-content/uploads/2020/07/insert-text-box-google-docs-transparency.png)
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.
![text box online text box online](https://www.msubillings.edu/it/software/images/box_open_office_online.png)
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?