Xamarin.Android | ComponentOne
C1.Android.Gauge Assembly / C1.Android.Gauge Namespace / C1LinearGauge Class / DispatchKeyEvent Method


In This Topic
    DispatchKeyEvent Method (C1LinearGauge)
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("dispatchKeyEvent", 
       "(Landroid/view/KeyEvent;)Z", 
       "GetDispatchKeyEvent_Landroid_view_KeyEvent_Handler")>
    Public Overridable Function DispatchKeyEvent( _
       ByVal e As Android.Views.KeyEvent _
    ) As Boolean
    'Usage
     
    
    Dim instance As C1LinearGauge
    Dim e As Android.Views.KeyEvent
    Dim value As Boolean
     
    value = instance.DispatchKeyEvent(e)
    [Android.Runtime.Register("dispatchKeyEvent", 
       "(Landroid/view/KeyEvent;)Z", 
       "GetDispatchKeyEvent_Landroid_view_KeyEvent_Handler")]
    public virtual bool DispatchKeyEvent( 
       Android.Views.KeyEvent e
    )

    Parameters

    e
    See Also