Xamarin.iOS Documentation | ComponentOne
C1.iOS.Core Assembly / C1.iOS.Core Namespace / C1TextField Class / KeyDown Event


In This Topic
    KeyDown Event
    In This Topic
    This event is raised when up, down, or enter keys are hit, or either when the cursor is at the beginning and left is hit or when the cursor is at the end and right is hit.
    Syntax
    'Declaration
     
    
    Public Event KeyDown As EventHandler(Of UIKeyCommand)
    'Usage
     
    
    Dim instance As C1TextField
    Dim handler As EventHandler(Of UIKeyCommand)
     
    AddHandler instance.KeyDown, handler
    public event EventHandler<UIKeyCommand> KeyDown
    Event Data

    The event handler receives an argument of type UIKit.UIKeyCommand containing data related to this event. The following UIKeyCommand properties provide information specific to this event.

    PropertyDescription
     
     
     
    (Inherited from Foundation.NSObject)
     
     
    (Inherited from Foundation.NSObject)
     
    See Also