Xamarin.Android | ComponentOne
C1.Android.Input Assembly / C1.Android.Input Namespace / C1TexBoxBackgroundDrawable Class / SetColor Method / SetColor(ColorStateList) Method


In This Topic
    SetColor(ColorStateList) Method
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("setColor", 
       "(Landroid/content/res/ColorStateList;)V", 
       "GetSetColor_Landroid_content_res_ColorStateList_Handler", 
       ApiSince=21)>
    Public Overloads Overridable Sub SetColor( _
       ByVal colorStateList As Android.Content.Res.ColorStateList _
    ) 
    'Usage
     
    
    Dim instance As C1TexBoxBackgroundDrawable
    Dim colorStateList As Android.Content.Res.ColorStateList
     
    instance.SetColor(colorStateList)
    [Android.Runtime.Register("setColor", 
       "(Landroid/content/res/ColorStateList;)V", 
       "GetSetColor_Landroid_content_res_ColorStateList_Handler", 
       ApiSince=21)]
    public virtual void SetColor( 
       Android.Content.Res.ColorStateList colorStateList
    )

    Parameters

    colorStateList
    See Also