共用方式為


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 引發 事件。

適用於