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


In This Topic
    OnCapturedPointerEvent Method (C1ToggleButton)
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("onCapturedPointerEvent", 
       "(Landroid/view/MotionEvent;)Z", 
       "GetOnCapturedPointerEvent_Landroid_view_MotionEvent_Handler", 
       ApiSince=26)>
    Public Overridable Function OnCapturedPointerEvent( _
       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.OnCapturedPointerEvent(e)
    [Android.Runtime.Register("onCapturedPointerEvent", 
       "(Landroid/view/MotionEvent;)Z", 
       "GetOnCapturedPointerEvent_Landroid_view_MotionEvent_Handler", 
       ApiSince=26)]
    public virtual bool OnCapturedPointerEvent( 
       Android.Views.MotionEvent e
    )

    Parameters

    e
    See Also