Share via


GettingFocusEventArgs.NewFocusedElement property

[This documentation is preliminary and is subject to change.]

Gets the element to receive focus if Cancel is not set to true.

Syntax

public UIElement NewFocusedElement { get; set; }
Public Property NewFocusedElement As UIElement
public:
property UIElement^ NewFocusedElement { 
   UIElement^ get();
   void set (UIElement^ value);
}

Property value

Type: UIElement

The element to receive focus. Can be null.

Remarks

If NewFocusedElement is null, no element receives focus.

Requirements

Minimum supported client

Windows 10 Technical Preview

Minimum supported server

Windows Server Technical Preview

Minimum supported phone

Windows 10 Technical Preview for phones

Namespace

Windows.UI.Xaml.Input Windows::UI::Xaml::Input [C++]

Metadata

Windows.winmd

See also

GettingFocusEventArgs