Dela via


FocusManagerLostFocusEventArgs Class

Definition

Provides data for the LostFocus event.

public ref class FocusManagerLostFocusEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class FocusManagerLostFocusEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class FocusManagerLostFocusEventArgs
Public NotInheritable Class FocusManagerLostFocusEventArgs
Inheritance
Object Platform::Object IInspectable FocusManagerLostFocusEventArgs
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Remarks

We recommend using the UIElement focus routed events instead of FocusManager events whenever possible.

Properties

CorrelationId

Gets the unique ID generated when a focus movement event is initiated.

OldFocusedElement

Gets the last focused element.

Applies to

See also