共用方式為


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

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

NewFocusedElement

取得最新的焦點專案。

適用於

另請參閱