Occurs when the text selection has changed.
public event RoutedEventHandler SelectionChanged
<object SelectionChanged="RoutedEventHandler" .../>
The following example demonstrates how to handle the SelectionChanged event by using code.
private void selectChanged(object sender, RoutedEventArgs e)
myTextBox.AppendText("Selection Changed event in myTextBox2 has just occurred.");