Nevron Open Vision Documentation
Nevron.Nov.WinFormControls Namespace / NComboBoxControl Class / KeyPress Event


In This Topic
    KeyPress Event (NComboBoxControl)
    In This Topic
    Syntax
    'Declaration
     
    
    <System.Windows.Forms.SRCategoryAttribute("CatKey")>
    <System.Windows.Forms.SRDescriptionAttribute("ControlOnKeyPressDescr")>
    Public Event KeyPress As System.Windows.Forms.KeyPressEventHandler
    'Usage
     
    
    Dim instance As NComboBoxControl
    Dim handler As System.Windows.Forms.KeyPressEventHandler
     
    AddHandler instance.KeyPress, handler
    [System.Windows.Forms.SRCategory("CatKey")]
    [System.Windows.Forms.SRDescription("ControlOnKeyPressDescr")]
    public event System.Windows.Forms.KeyPressEventHandler KeyPress
    Event Data

    The event handler receives an argument of type System.Windows.Forms.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.  
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also