Drawable.IsStateful 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.
Indicates whether this drawable will change its appearance based on state.
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 drawable changes its appearance based on state, false otherwise.
- Attributes
Remarks
Indicates whether this drawable will change its appearance based on state. Clients can use this to determine whether it is necessary to calculate their state and call setState.
Java documentation for android.graphics.drawable.Drawable.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.