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


In This Topic
    SetStroke(Int32,ColorStateList) Method
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("setStroke", 
       "(ILandroid/content/res/ColorStateList;)V", 
       "GetSetStroke_ILandroid_content_res_ColorStateList_Handler", 
       ApiSince=21)>
    Public Overloads Overridable Sub SetStroke( _
       ByVal width As Integer, _
       ByVal colorStateList As Android.Content.Res.ColorStateList _
    ) 
    'Usage
     
    
    Dim instance As C1TexBoxBackgroundDrawable
    Dim width As Integer
    Dim colorStateList As Android.Content.Res.ColorStateList
     
    instance.SetStroke(width, colorStateList)
    [Android.Runtime.Register("setStroke", 
       "(ILandroid/content/res/ColorStateList;)V", 
       "GetSetStroke_ILandroid_content_res_ColorStateList_Handler", 
       ApiSince=21)]
    public virtual void SetStroke( 
       int width,
       Android.Content.Res.ColorStateList colorStateList
    )

    Parameters

    width
    colorStateList
    See Also