Udostępnij za pośrednictwem


FocusManagerGotFocusEventArgs.NewFocusedElement Property

Definition

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.

Applies to

See also