ColorStateList.IsOpaque 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 color state list is opaque, which means that every
color returned from #getColorForState(int[], int)
has an alpha
value of 255.
public virtual bool IsOpaque { [Android.Runtime.Register("isOpaque", "()Z", "GetIsOpaqueHandler")] get; }
[<get: Android.Runtime.Register("isOpaque", "()Z", "GetIsOpaqueHandler")>]
member this.IsOpaque : bool
Property Value
True if this color state list is opaque.
- Attributes
Remarks
Indicates whether this color state list is opaque, which means that every color returned from #getColorForState(int[], int)
has an alpha value of 255.
Java documentation for android.content.res.ColorStateList.isOpaque()
.
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.