FocusManagerLostFocusEventArgs 类

定义

LostFocus 事件提供数据。

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

注解

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

属性

CorrelationId

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

OldFocusedElement

获取最后一个聚焦的元素。

适用于

另请参阅