ComponentOne Xamarin.Android
SetOnLongClickListener Method (C1ToggleButton)


C1.Android.Core Assembly > C1.Android.Core Namespace > C1ToggleButton Class : SetOnLongClickListener Method
Syntax
'Declaration
 
<Android.Runtime.RegisterAttribute("setOnLongClickListener", 
   "(Landroid/view/View$OnLongClickListener;)V", 
   "GetSetOnLongClickListener_Landroid_view_View_OnLongClickListener_Handler")>
Public Overridable Sub SetOnLongClickListener( _
   ByVal l As Android.Views.View.IOnLongClickListener _
) 
'Usage
 
Dim instance As C1ToggleButton
Dim l As Android.Views.View.IOnLongClickListener
 
instance.SetOnLongClickListener(l)
[Android.Runtime.Register("setOnLongClickListener", 
   "(Landroid/view/View$OnLongClickListener;)V", 
   "GetSetOnLongClickListener_Landroid_view_View_OnLongClickListener_Handler")]
public virtual void SetOnLongClickListener( 
   Android.Views.View.IOnLongClickListener l
)

Parameters

l
See Also

Reference

C1ToggleButton Class
C1ToggleButton Members