Xamarin.Android | ComponentOne
C1.Android.Calendar Assembly / C1.Android.Calendar Namespace / CalendarDaysOfWeekPanel Class / OnKeyShortcut Method


In This Topic
    OnKeyShortcut Method (CalendarDaysOfWeekPanel)
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("onKeyShortcut", 
       "(ILandroid/view/KeyEvent;)Z", 
       "GetOnKeyShortcut_ILandroid_view_KeyEvent_Handler")>
    Public Overridable Function OnKeyShortcut( _
       ByVal keyCode As Android.Views.Keycode, _
       ByVal e As Android.Views.KeyEvent _
    ) As Boolean
    'Usage
     
    
    Dim instance As CalendarDaysOfWeekPanel
    Dim keyCode As Android.Views.Keycode
    Dim e As Android.Views.KeyEvent
    Dim value As Boolean
     
    value = instance.OnKeyShortcut(keyCode, e)
    [Android.Runtime.Register("onKeyShortcut", 
       "(ILandroid/view/KeyEvent;)Z", 
       "GetOnKeyShortcut_ILandroid_view_KeyEvent_Handler")]
    public virtual bool OnKeyShortcut( 
       Android.Views.Keycode keyCode,
       Android.Views.KeyEvent e
    )

    Parameters

    keyCode
    e
    See Also