Udostępnij za pośrednictwem


ViewStructure.SetFocusable(Boolean) Method

Definition

Set the focusable state of this view, as per View#isFocusable View.isFocusable().

[Android.Runtime.Register("setFocusable", "(Z)V", "GetSetFocusable_ZHandler", ApiSince=23)]
public abstract void SetFocusable (bool state);
[<Android.Runtime.Register("setFocusable", "(Z)V", "GetSetFocusable_ZHandler", ApiSince=23)>]
abstract member SetFocusable : bool -> unit

Parameters

state
Boolean
Attributes

Remarks

Set the focusable state of this view, as per View#isFocusable View.isFocusable().

Java documentation for android.view.ViewStructure.setFocusable(boolean).

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