OnKeyShortcut Method (C1ToggleButton)
In This Topic
Syntax
'Declaration
<Android.Runtime.RegisterAttribute("onKeyShortcut",
"(ILandroid/view/KeyEvent;)Z",
"GetOnKeyShortcut_ILandroid_view_KeyEvent_Handler")>
Public Overridable Function OnKeyShortcut( _
ByVal As Android.Views.Keycode, _
ByVal 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 ,
Android.Views.KeyEvent
)
Parameters
- keyCode
- e
See Also