TreeViewItem.OnGotFocus(RoutedEventArgs) メソッド

定義

GotFocus イベントのクラス処理を提供します。

protected:
 override void OnGotFocus(System::Windows::RoutedEventArgs ^ e);
protected override void OnGotFocus (System.Windows.RoutedEventArgs e);
override this.OnGotFocus : System.Windows.RoutedEventArgs -> unit
Protected Overrides Sub OnGotFocus (e As RoutedEventArgs)

パラメーター

e
RoutedEventArgs

イベントのデータ。

注釈

この実装では、 TreeView 選択範囲にフォーカスを TreeViewItem 設定します。

このイベントは GotFocus 、プロパティの IsFocused 値が変更 false されたときに発生します true

適用対象