Xamarin.Android | ComponentOne
C1.Android.Core Assembly / C1.Android.Core Namespace / C1ToggleButton Class / OnKeyPreIme Method


In This Topic
    OnKeyPreIme Method (C1ToggleButton)
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("onKeyPreIme", 
       "(ILandroid/view/KeyEvent;)Z", 
       "GetOnKeyPreIme_ILandroid_view_KeyEvent_Handler", 
       ApiSince=3)>
    Public Overridable Function OnKeyPreIme( _
       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.OnKeyPreIme(keyCode, e)
    [Android.Runtime.Register("onKeyPreIme", 
       "(ILandroid/view/KeyEvent;)Z", 
       "GetOnKeyPreIme_ILandroid_view_KeyEvent_Handler", 
       ApiSince=3)]
    public virtual bool OnKeyPreIme( 
       Android.Views.Keycode keyCode,
       Android.Views.KeyEvent e
    )

    Parameters

    keyCode
    e
    See Also