Xamarin.Android | ComponentOne
C1.Android.Core Assembly / C1.Android.Core Namespace / C1Icon Class / SetBackgroundDrawable Method


In This Topic
    SetBackgroundDrawable Method (C1Icon)
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("setBackgroundDrawable", 
       "(Landroid/graphics/drawable/Drawable;)V", 
       "GetSetBackgroundDrawable_Landroid_graphics_drawable_Drawable_Handler")>
    <ObsoleteAttribute("deprecated")>
    Public Overridable Sub SetBackgroundDrawable( _
       ByVal background As Android.Graphics.Drawables.Drawable _
    ) 
    'Usage
     
    
    Dim instance As C1Icon
    Dim background As Android.Graphics.Drawables.Drawable
     
    instance.SetBackgroundDrawable(background)
    [Android.Runtime.Register("setBackgroundDrawable", 
       "(Landroid/graphics/drawable/Drawable;)V", 
       "GetSetBackgroundDrawable_Landroid_graphics_drawable_Drawable_Handler")]
    [Obsolete("deprecated")]
    public virtual void SetBackgroundDrawable( 
       Android.Graphics.Drawables.Drawable background
    )

    Parameters

    background
    See Also