SelectAll Method

TextBoxBase.SelectAll Method ()


Selects all the contents of the text editing control.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

Public Sub SelectAll

The following example demonstrates how to use the SelectAll method to select all the contents of a TextBox control.

Private Sub selectAll(ByVal sender As Object, ByVal e As RoutedEventArgs)
End Sub

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft