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


In This Topic
    OnKeyShortcut Method (C1LinearGauge)
    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 C1LinearGauge
    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