Xamarin.Android | ComponentOne
C1.Android.Core Assembly / C1.Android.Core Namespace / C1ClearableEditText Class / SetCompoundDrawablesRelative Method


In This Topic
    SetCompoundDrawablesRelative Method (C1ClearableEditText)
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("setCompoundDrawablesRelative", 
       "(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V", 
       "GetSetCompoundDrawablesRelative_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Handler", 
       ApiSince=17)>
    Public Overridable Sub SetCompoundDrawablesRelative( _
       ByVal start As Android.Graphics.Drawables.Drawable, _
       ByVal top As Android.Graphics.Drawables.Drawable, _
       ByVal end As Android.Graphics.Drawables.Drawable, _
       ByVal bottom As Android.Graphics.Drawables.Drawable _
    ) 
    'Usage
     
    
    Dim instance As C1ClearableEditText
    Dim start As Android.Graphics.Drawables.Drawable
    Dim top As Android.Graphics.Drawables.Drawable
    Dim end As Android.Graphics.Drawables.Drawable
    Dim bottom As Android.Graphics.Drawables.Drawable
     
    instance.SetCompoundDrawablesRelative(start, top, end, bottom)
    [Android.Runtime.Register("setCompoundDrawablesRelative", 
       "(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V", 
       "GetSetCompoundDrawablesRelative_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Handler", 
       ApiSince=17)]
    public virtual void SetCompoundDrawablesRelative( 
       Android.Graphics.Drawables.Drawable start,
       Android.Graphics.Drawables.Drawable top,
       Android.Graphics.Drawables.Drawable end,
       Android.Graphics.Drawables.Drawable bottom
    )

    Parameters

    start
    top
    end
    bottom
    See Also