Xamarin.Android | ComponentOne
C1.Android.Calendar Assembly / C1.Android.Calendar Namespace / CalendarYearsPanel Class / DispatchKeyEvent Method


In This Topic
    DispatchKeyEvent Method (CalendarYearsPanel)
    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 CalendarYearsPanel
    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