Xamarin.Android | ComponentOne
C1.Android.Core Assembly / C1.Android.Core Namespace / C1CheckBox Class / SetCompoundDrawables Method


In This Topic
    SetCompoundDrawables Method (C1CheckBox)
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("setCompoundDrawables", 
       "(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V", 
       "GetSetCompoundDrawables_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Handler")>
    Public Overridable Sub SetCompoundDrawables( _
       ByVal left As Android.Graphics.Drawables.Drawable, _
       ByVal top As Android.Graphics.Drawables.Drawable, _
       ByVal right As Android.Graphics.Drawables.Drawable, _
       ByVal bottom As Android.Graphics.Drawables.Drawable _
    ) 
    'Usage
     
    
    Dim instance As C1CheckBox
    Dim left As Android.Graphics.Drawables.Drawable
    Dim top As Android.Graphics.Drawables.Drawable
    Dim right As Android.Graphics.Drawables.Drawable
    Dim bottom As Android.Graphics.Drawables.Drawable
     
    instance.SetCompoundDrawables(left, top, right, bottom)
    [Android.Runtime.Register("setCompoundDrawables", 
       "(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V", 
       "GetSetCompoundDrawables_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Handler")]
    public virtual void SetCompoundDrawables( 
       Android.Graphics.Drawables.Drawable left,
       Android.Graphics.Drawables.Drawable top,
       Android.Graphics.Drawables.Drawable right,
       Android.Graphics.Drawables.Drawable bottom
    )

    Parameters

    left
    top
    right
    bottom
    See Also