Share via


GettingFocusEventArgs.OldFocusedElement property

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

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

Syntax

public UIElement OldFocusedElement { get; }
Public ReadOnly Property OldFocusedElement As UIElement
public:
property UIElement^ OldFocusedElement { 
   UIElement^ get();
}

Property value

Type: UIElement

The element to lose focus.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

See also

GettingFocusEventArgs