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


In This Topic
    OnKeyDown Method (NModel)
    In This Topic
    Handles the key down event
    Syntax
    'Declaration
     
    
    Public Overridable Sub OnKeyDown( _
       ByVal e As NKeyEventArgs _
    ) 
    'Usage
     
    
    Dim instance As NModel
    Dim e As NKeyEventArgs
     
    instance.OnKeyDown(e)
    public virtual void OnKeyDown( 
       NKeyEventArgs 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 NodeKeyDown 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