ViewStructure.SetSelected(Boolean) Method

Definition

Set the selected state of this view, as per View#isSelected View.isSelected().

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

Parameters

state
Boolean
Attributes

Remarks

Set the selected state of this view, as per View#isSelected View.isSelected().

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