共用方式為


FocusManagerGotFocusEventArgs 類別

定義

提供 GotFocus 事件的資料。

public ref class FocusManagerGotFocusEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class FocusManagerGotFocusEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class FocusManagerGotFocusEventArgs
Public NotInheritable Class FocusManagerGotFocusEventArgs
繼承
Object Platform::Object IInspectable FocusManagerGotFocusEventArgs
屬性

Windows 需求

裝置系列
Windows 10, version 1809 (已於 10.0.17763.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v7.0 引進)

備註

建議您盡可能使用 UIElement 焦點路由事件,而不是 FocusManager 事件。

屬性

CorrelationId

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

NewFocusedElement

取得最新的焦點專案。

適用於

另請參閱