Xamarin.Android | ComponentOne
C1.Android.Chart Assembly / C1.Android.Chart Namespace / FlexPie Class / OnKeyDown Method


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

    Parameters

    keyCode
    e
    See Also