FocusManagerGotFocusEventArgs.NewFocusedElement Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the most recent focused element.
public:
property DependencyObject ^ NewFocusedElement { DependencyObject ^ get(); };
DependencyObject NewFocusedElement();
public DependencyObject NewFocusedElement { get; }
var dependencyObject = focusManagerGotFocusEventArgs.newFocusedElement;
Public ReadOnly Property NewFocusedElement As DependencyObject
Property Value
The most recent focused element.
Remarks
We recommend using the UIElement focus routed events instead of FocusManager events whenever possible.