共用方式為


FocusEventArgs.IsFocused Property

Definition

Gets whether or not the VisualElement was focused.

public bool IsFocused { get; }
member this.IsFocused : bool

Property Value

System.Boolean

true if the view was focused, false otherwise.

Applies to