TreeViewItem.OnGotFocus(RoutedEventArgs) TreeViewItem.OnGotFocus(RoutedEventArgs) TreeViewItem.OnGotFocus(RoutedEventArgs) TreeViewItem.OnGotFocus(RoutedEventArgs) Method

定義

GotFocus イベントのクラス処理を提供します。Provides class handling for the GotFocus event.

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 RoutedEventArgs RoutedEventArgs RoutedEventArgs

イベントのデータ。The event data.

注釈

この実装の設定、TreeView選択範囲をTreeViewItemでフォーカスされています。This implementation sets the TreeView selection to the TreeViewItem that is in focus.

GotFocusイベントが発生したときの値、IsFocusedプロパティがから変更falsetrueします。The GotFocus event occurs when the value of the IsFocused property changes from false to true.

適用対象