TreeView for WinForms | ComponentOne
C1.Win.TreeView Namespace / CustomContentPresenter Class / OnKeyPress Method
System.Windows.Forms.KeyEventArgs that contains the event data.

In This Topic
    OnKeyPress Method (CustomContentPresenter)
    In This Topic
    Called by the host control when the user presses a character key and this C1.Framework.Element has the focus.
    Syntax
    'Declaration
     
    
    Public Overridable Sub OnKeyPress( _
       ByVal e As KeyPressEventArgs _
    ) 
    public virtual void OnKeyPress( 
       KeyPressEventArgs e
    )

    Parameters

    e
    System.Windows.Forms.KeyEventArgs that contains the event data.
    See Also