Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NController Class / ProcessKeyPress Method
key press event args


In This Topic
    ProcessKeyPress Method (NController)
    In This Topic
    Processes the key press event
    Syntax
    'Declaration
     
    
    Public Overridable Function ProcessKeyPress( _
       ByVal e As System.Windows.Forms.KeyPressEventArgs _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NController
    Dim e As System.Windows.Forms.KeyPressEventArgs
    Dim value As System.Boolean
     
    value = instance.ProcessKeyPress(e)
    public virtual System.bool ProcessKeyPress( 
       System.Windows.Forms.KeyPressEventArgs e
    )

    Parameters

    e
    key press event args

    Return Value

    true if the event was processed, otherwise false
    Remarks
    If there is an active tool the method will delegate to it. Otherwise it will call the ProcessKeyPress method of all enabled tools until the event is processed.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also