FocusManagerLostFocusEventArgs 类

定义

LostFocus 事件提供数据。

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

Windows 要求

设备系列
Windows 10, version 1809 (在 10.0.17763.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v7.0 中引入)

注解

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

属性

CorrelationId

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

OldFocusedElement

获取最后一个焦点元素。

适用于

另请参阅