共用方式為


View.IsFocused Property

Definition

Returns true if this view has focus

public virtual bool IsFocused { [Android.Runtime.Register("isFocused", "()Z", "GetIsFocusedHandler")] get; }
[<get: Android.Runtime.Register("isFocused", "()Z", "GetIsFocusedHandler")>]
member this.IsFocused : bool

Property Value

True if this view has focus, false otherwise.

Attributes

Remarks

Returns true if this view has focus

Java documentation for android.view.View.isFocused().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to