Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TextBoxBase.OnSelectionChanged Method (RoutedEventArgs)


Is called when the caret or current selection changes position.

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

protected virtual void OnSelectionChanged(
	RoutedEventArgs e


Type: System.Windows.RoutedEventArgs

The arguments that are associated with the SelectionChanged event.

This method raises a SelectionChanged event.

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