Sdílet prostřednictvím


AbsListView.SelectedChildViewEnabled Property

Definition

Returns whether the selected child view (from the adapter's getView) is enabled. -or- Set whether the selected child view (from the adapter's getView) is enabled.

public virtual bool SelectedChildViewEnabled { [Android.Runtime.Register("isSelectedChildViewEnabled", "()Z", "GetIsSelectedChildViewEnabledHandler", ApiSince=33)] get; [Android.Runtime.Register("setSelectedChildViewEnabled", "(Z)V", "GetSetSelectedChildViewEnabled_ZHandler", ApiSince=33)] set; }
[<get: Android.Runtime.Register("isSelectedChildViewEnabled", "()Z", "GetIsSelectedChildViewEnabledHandler", ApiSince=33)>]
[<set: Android.Runtime.Register("setSelectedChildViewEnabled", "(Z)V", "GetSetSelectedChildViewEnabled_ZHandler", ApiSince=33)>]
member this.SelectedChildViewEnabled : bool with get, set

Property Value

true if enabled

Attributes

Remarks

Property getter documentation:

Returns whether the selected child view (from the adapter's getView) is enabled.

Java documentation for android.widget.AbsListView.isSelectedChildViewEnabled().

Property setter documentation:

Set whether the selected child view (from the adapter's getView) is enabled.

When refreshDrawableState is called, AbsListView will control the "enabled" state of the selector based on this.

Java documentation for android.widget.AbsListView.setSelectedChildViewEnabled(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