FocusManagerGotFocusEventArgs Class

Definition

Provides data for the GotFocus event.

public ref class FocusManagerGotFocusEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class FocusManagerGotFocusEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class FocusManagerGotFocusEventArgs
Public NotInheritable Class FocusManagerGotFocusEventArgs
Inheritance
Object Platform::Object IInspectable FocusManagerGotFocusEventArgs
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.

NewFocusedElement

Gets the most recent focused element.

Applies to

See also