ComponentOne Xamarin.Android
SetOnCheckedChangeListener Method


C1.Android.Core Assembly > C1.Android.Core Namespace > C1CheckBox Class : SetOnCheckedChangeListener Method
Syntax
'Declaration
 
<Android.Runtime.RegisterAttribute("setOnCheckedChangeListener", 
   "(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V", 
   "GetSetOnCheckedChangeListener_Landroid_widget_CompoundButton_OnCheckedChangeListener_Handler")>
Public Overridable Sub SetOnCheckedChangeListener( _
   ByVal listener As Android.Widget.CompoundButton.IOnCheckedChangeListener _
) 
'Usage
 
Dim instance As C1CheckBox
Dim listener As Android.Widget.CompoundButton.IOnCheckedChangeListener
 
instance.SetOnCheckedChangeListener(listener)
[Android.Runtime.Register("setOnCheckedChangeListener", 
   "(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V", 
   "GetSetOnCheckedChangeListener_Landroid_widget_CompoundButton_OnCheckedChangeListener_Handler")]
public virtual void SetOnCheckedChangeListener( 
   Android.Widget.CompoundButton.IOnCheckedChangeListener listener
)

Parameters

listener
See Also

Reference

C1CheckBox Class
C1CheckBox Members