StateListDrawable.StateCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.