Files
docs-desktop/dotnet-desktop-guide/framework/wpf/controls/textbox-how-to-topics.md
T
Andy De George da363692ff Initial WPF content migrated (#17)
* Reset branch for WPF changes

* Convert BMP to PNG; fix link-out-of-scope err

* Add snippets for WPF... 6794 files!!!!

* Add missing snippets

* update file updated between migration

* Fix paths to include

* update breadcrumb and toc

* fix index links

* fix index links

* fix index links

* fix markdown
2020-09-04 09:46:28 -07:00

42 lines
2.0 KiB
Markdown

---
title: "TextBox How-to Topics"
ms.date: "03/30/2017"
f1_keywords:
- "AutoGeneratedOrientationPage"
helpviewer_keywords:
- "controls [WPF], TextBox"
- "TextBox control [WPF], how-to topics"
ms.assetid: 006aa461-fe37-4cd8-860a-d38d76e8b9f7
---
# TextBox How-to Topics
This section provides examples that demonstrate how to accomplish common tasks using the <xref:System.Windows.Controls.TextBox> control.
## In This Section
[Create a Multiline TextBox Control](how-to-create-a-multiline-textbox-control.md)
[Detect When Text in a TextBox Has Changed](how-to-detect-when-text-in-a-textbox-has-changed.md)
[Enable Tab Characters in a TextBox Control](how-to-enable-tab-characters-in-a-textbox-control.md)
[Get a Collection of Lines from a TextBox](how-to-get-a-collection-of-lines-from-a-textbox.md)
[Make a TextBox Control Read-Only](how-to-make-a-textbox-control-read-only.md)
[Position the Cursor at the Beginning or End of Text in a TextBox Control](position-the-cursor-at-the-beginning-or-end-of-text.md)
[Retrieve a Text Selection](how-to-retrieve-a-text-selection.md)
[Set Focus in a TextBox Control](how-to-set-focus-in-a-textbox-control.md)
[Set the Text Content of a TextBox Control](how-to-set-the-text-content-of-a-textbox-control.md)
[Enable Spell Checking in a Text Editing Control](how-to-enable-spell-checking-in-a-text-editing-control.md)
[Use a Custom Context Menu with a TextBox](how-to-use-a-custom-context-menu-with-a-textbox.md)
[Use Spell Checking with a Context Menu](how-to-use-spell-checking-with-a-context-menu.md)
[Add a Watermark to a TextBox](how-to-add-a-watermark-to-a-textbox.md)
## Reference
<xref:System.Windows.Controls.TextBox>
<xref:System.Windows.Controls.RichTextBox>
<xref:System.Windows.Controls.TextBlock>
<xref:System.Windows.Controls.PasswordBox>
## See also
- [WPF Controls Gallery Sample](https://github.com/Microsoft/WPF-Samples/tree/master/Getting%20Started/ControlsAndLayout)
- [TextBox Styles and Templates](textbox-styles-and-templates.md)