ComponentOne Xamarin.Android
OnKeyShortcut Method (C1ToggleButton)


C1.Android.Core Assembly > C1.Android.Core Namespace > C1ToggleButton 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 C1ToggleButton
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

C1ToggleButton Class
C1ToggleButton Members