This documentation is archived and is not being maintained.
How to: Set Focus in a TextBox Control
.NET Framework 3.0
The following Extensible Application Markup Language (XAML) example describes a simple TextBox control named tbFocusMe
The following example calls the Focus method to set the focus on the TextBox control with the Name tbFocusMe.