ColorStateList.IsStateful Property

Definition

Indicates whether this color state list contains at least one state spec and the first spec is not empty (e.

public virtual bool IsStateful { [Android.Runtime.Register("isStateful", "()Z", "GetIsStatefulHandler")] get; }
[<get: Android.Runtime.Register("isStateful", "()Z", "GetIsStatefulHandler")>]
member this.IsStateful : bool

Property Value

True if this color state list changes color based on state, false otherwise.

Attributes

Remarks

Indicates whether this color state list contains at least one state spec and the first spec is not empty (e.g. match-all).

Java documentation for android.content.res.ColorStateList.isStateful().

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

See also

  • <xref:Android.Content.Res.ColorStateList.GetColorForState(System.Int32%5b%5d%2c+Android.Graphics.Color)>