Condividi tramite


ViewStructure.SetFocused(Boolean) Method

Definition

Set the focused state of this view, as per View#isFocused View.isFocused().

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

Parameters

state
Boolean
Attributes

Remarks

Set the focused state of this view, as per View#isFocused View.isFocused().

Java documentation for android.view.ViewStructure.setFocused(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