Xamarin.Android | ComponentOne
C1.Android.Calendar Assembly / C1.Android.Calendar Namespace / CalendarHeadersPanel Class / OnKeyLongPress Method


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

    Parameters

    keyCode
    e
    See Also