View.IsFocused Property

Definition

Returns true if this view has focus

C#
public virtual bool IsFocused { [Android.Runtime.Register("isFocused", "()Z", "GetIsFocusedHandler")] get; }

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

Produkt Wersje
.NET for Android .NET for Android API 34, .NET for Android API 35