共用方式為


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

取得起始焦點移動事件時所產生的唯一識別碼。

OldFocusedElement

取得最後一個焦點專案。

適用於

另請參閱