Compartilhar via


DrawableWrapper.Drawable Property

Definition

Sets the wrapped drawable.

public virtual Android.Graphics.Drawables.Drawable? Drawable { [Android.Runtime.Register("getDrawable", "()Landroid/graphics/drawable/Drawable;", "GetGetDrawableHandler", ApiSince=23)] get; [Android.Runtime.Register("setDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetDrawable_Landroid_graphics_drawable_Drawable_Handler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("getDrawable", "()Landroid/graphics/drawable/Drawable;", "GetGetDrawableHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetDrawable_Landroid_graphics_drawable_Drawable_Handler", ApiSince=23)>]
member this.Drawable : Android.Graphics.Drawables.Drawable with get, set

Property Value

the wrapped drawable

Attributes

Remarks

Property getter documentation:

Java documentation for android.graphics.drawable.DrawableWrapper.getDrawable().

Property setter documentation:

Sets the wrapped drawable.

Java documentation for android.graphics.drawable.DrawableWrapper.setDrawable(android.graphics.drawable.Drawable).

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