Xamarin.Android | ComponentOne
C1.Android.Input Assembly / C1.Android.Input Namespace / DummyKeyListener Class / ForwardDelete Method


In This Topic
    ForwardDelete Method
    In This Topic
    Performs the action that happens when you press the KEYCODE_FORWARD_DEL key in a TextView.
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("forwardDelete", 
       "(Landroid/view/View;Landroid/text/Editable;ILandroid/view/KeyEvent;)Z", 
       "GetForwardDelete_Landroid_view_View_Landroid_text_Editable_ILandroid_view_KeyEvent_Handler", 
       ApiSince=11)>
    Public Overrides Function ForwardDelete( _
       ByVal view As Android.Views.View, _
       ByVal content As Android.Text.IEditable, _
       ByVal keyCode As Android.Views.Keycode, _
       ByVal e As Android.Views.KeyEvent _
    ) As Boolean
    'Usage
     
    
    Dim instance As DummyKeyListener
    Dim view As Android.Views.View
    Dim content As Android.Text.IEditable
    Dim keyCode As Android.Views.Keycode
    Dim e As Android.Views.KeyEvent
    Dim value As Boolean
     
    value = instance.ForwardDelete(view, content, keyCode, e)
    [Android.Runtime.Register("forwardDelete", 
       "(Landroid/view/View;Landroid/text/Editable;ILandroid/view/KeyEvent;)Z", 
       "GetForwardDelete_Landroid_view_View_Landroid_text_Editable_ILandroid_view_KeyEvent_Handler", 
       ApiSince=11)]
    public override bool ForwardDelete( 
       Android.Views.View view,
       Android.Text.IEditable content,
       Android.Views.Keycode keyCode,
       Android.Views.KeyEvent e
    )

    Parameters

    view
    content
    keyCode
    e
    See Also