Share via


StateListDrawable.StateCount Property

Definition

Gets the number of states contained in this drawable.

public virtual int StateCount { [Android.Runtime.Register("getStateCount", "()I", "GetGetStateCountHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getStateCount", "()I", "GetGetStateCountHandler", ApiSince=29)>]
member this.StateCount : int

Property Value

The number of states contained in this drawable.

Attributes

Remarks

Gets the number of states contained in this drawable.

Java documentation for android.graphics.drawable.StateListDrawable.getStateCount().

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