FocusManagerGotFocusEventArgs 类

定义

GotFocus 事件提供数据。

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
继承
Object Platform::Object IInspectable FocusManagerGotFocusEventArgs
属性

注解

建议尽可能使用 UIElement 焦点路由事件而不是 FocusManager 事件。

属性

CorrelationId

获取启动焦点移动事件时生成的唯一 ID。

NewFocusedElement

获取最近聚焦的元素。

适用于

另请参阅