共用方式為


BaseAdapter.IsEnabled(Int32) Method

Definition

Returns true if the item at the specified position is not a separator.

[Android.Runtime.Register("isEnabled", "(I)Z", "GetIsEnabled_IHandler")]
public virtual bool IsEnabled (int position);
[<Android.Runtime.Register("isEnabled", "(I)Z", "GetIsEnabled_IHandler")>]
abstract member IsEnabled : int -> bool
override this.IsEnabled : int -> bool

Parameters

position
Int32

Index of the item

Returns

Implements

Attributes

Remarks

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