InputPanel for WinForms | ComponentOne
C1.Win.C1InputPanel.4.8 Assembly / C1.Win.C1InputPanel Namespace / InputMaskedTextBox Class / KeyPress Event

In This Topic
    KeyPress Event (InputMaskedTextBox)
    In This Topic
    Fires when a key is pressed while the component has focus.
    Syntax
    'Declaration
     
    Public Event KeyPress As KeyPressEventHandler
    public event KeyPressEventHandler KeyPress
    Event Data

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

    PropertyDescription
    Gets or sets a value indicating whether the System.Windows.Forms.Control.KeyPress event was handled.  
    Gets or sets the character corresponding to the key pressed.  
    See Also