Xamarin.Android | ComponentOne
C1.Android.Core Assembly / C1.Android.Core Namespace / C1ToggleButton Class / SetBackgroundResource Method


In This Topic
    SetBackgroundResource Method (C1ToggleButton)
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("setBackgroundResource", 
       "(I)V", 
       "GetSetBackgroundResource_IHandler")>
    Public Overridable Sub SetBackgroundResource( _
       ByVal resid As Integer _
    ) 
    'Usage
     
    
    Dim instance As C1ToggleButton
    Dim resid As Integer
     
    instance.SetBackgroundResource(resid)
    [Android.Runtime.Register("setBackgroundResource", 
       "(I)V", 
       "GetSetBackgroundResource_IHandler")]
    public virtual void SetBackgroundResource( 
       int resid
    )

    Parameters

    resid
    See Also