Nevron .NET Vision
Nevron.Chart.Windows Namespace / NKeyEventArgs Class / KeyData Property


In This Topic
    KeyData Property (NKeyEventArgs)
    In This Topic
    Gets the key data for a System.Windows.Forms.Control.KeyDown or System.Windows.Forms.Control.KeyUp event.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property KeyData As Key
    'Usage
     
    
    Dim instance As NKeyEventArgs
    Dim value As Key
     
    value = instance.KeyData
    public Key KeyData {get;}

    Property Value

    A System.Windows.Forms.Keys representing the key code for the key that was pressed, combined with modifier flags that indicate which combination of CTRL, SHIFT, and ALT keys was pressed at the same time.
    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