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


In This Topic
    OnHoverEvent Method (C1ToggleButton)
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("onHoverEvent", 
       "(Landroid/view/MotionEvent;)Z", 
       "GetOnHoverEvent_Landroid_view_MotionEvent_Handler", 
       ApiSince=14)>
    Public Overridable Function OnHoverEvent( _
       ByVal e As Android.Views.MotionEvent _
    ) As Boolean
    'Usage
     
    
    Dim instance As C1ToggleButton
    Dim e As Android.Views.MotionEvent
    Dim value As Boolean
     
    value = instance.OnHoverEvent(e)
    [Android.Runtime.Register("onHoverEvent", 
       "(Landroid/view/MotionEvent;)Z", 
       "GetOnHoverEvent_Landroid_view_MotionEvent_Handler", 
       ApiSince=14)]
    public virtual bool OnHoverEvent( 
       Android.Views.MotionEvent e
    )

    Parameters

    e
    See Also