TextBoxBase.OnSelectionChanged(RoutedEventArgs) 方法

定义

在插入符号或当前选定内容更改位置时进行调用。

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 事件关联的参数。

注解

此方法引发 事件 SelectionChanged

适用于