TextBoxBase.OnSelectionChanged(RoutedEventArgs) 方法

定义

在插入符号或当前选定内容更改位置时进行调用。Is called when the caret or current selection changes position.

protected:
 virtual void OnSelectionChanged(System::Windows::RoutedEventArgs ^ e);
protected virtual void OnSelectionChanged (System.Windows.RoutedEventArgs e);
abstract member OnSelectionChanged : System.Windows.RoutedEventArgs -> unit
override this.OnSelectionChanged : System.Windows.RoutedEventArgs -> unit
Protected Overridable Sub OnSelectionChanged (e As RoutedEventArgs)

参数

e
RoutedEventArgs

SelectionChanged 事件关联的参数。The arguments that are associated with the SelectionChanged event.

注解

此方法引发SelectionChanged事件。This method raises a SelectionChanged event.

适用于