FocusManagerLostFocusEventArgs Class

Definition

Provides data for the LostFocus event.

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

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