共用方式為


FocusEventArgs.IsFocused Property

Definition

Gets whether or not the VisualElement was focused.

public:
 property bool IsFocused { bool get(); };
public bool IsFocused { get; }
member this.IsFocused : bool
Public ReadOnly Property IsFocused As Boolean

Property Value

true if the view was focused, false otherwise.

Applies to