Occurs when the text selection has changed.
Public Event SelectionChanged As RoutedEventHandler
<object SelectionChanged="RoutedEventHandler" .../>
The following example demonstrates how to handle the SelectionChanged event by using code.
Private Sub selectChanged(ByVal sender As Object, ByVal e As RoutedEventArgs)
myTextBox.AppendText("Selection Changed event in myTextBox2 has just occurred.")