Nevron .NET Vision
Nevron.Diagram Namespace / NModel Class / OnKeyPress Method
event arguments received from a view


In This Topic
    OnKeyPress Method (NModel)
    In This Topic
    Handles the key press event
    Syntax
    'Declaration
     
    
    Public Overridable Sub OnKeyPress( _
       ByVal e As NKeyPressEventArgs _
    ) 
    'Usage
     
    
    Dim instance As NModel
    Dim e As NKeyPressEventArgs
     
    instance.OnKeyPress(e)
    public virtual void OnKeyPress( 
       NKeyPressEventArgs e
    )

    Parameters

    e
    event arguments received from a view
    Remarks
    This method is called by views when this model is the focused model. The implementation will fire the NodeKeyPress event for this model. If it was not handled it will bubble the event to the previous INKeyboardEventHandler implementor in the scene hierachy.
    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