ComponentOne Xamarin.Android
OnKeyShortcut Method (GridBase)


C1.Android.Grid Assembly > C1.Android.Grid Namespace > GridBase Class : OnKeyShortcut Method
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 GridBase
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

Reference

GridBase Class
GridBase Members