Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Keystroke Structure / Keystroke Constructor / Keystroke Constructor(Keys,Keys,Boolean)
Key code defined by this keystroke
Modifier keys defined by this keystroke
Whether the keystroke is active on key release


In This Topic
    Keystroke Constructor(Keys,Keys,Boolean)
    In This Topic
    Creates a new keystroke with a specified a key code, modifier keys, and whether the keystroke is active on key release.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal keyCode As Keys, _
       ByVal modifiers As Keys, _
       ByVal onKeyRelease As Boolean _
    )
    'Usage
     
    
    Dim keyCode As Keys
    Dim modifiers As Keys
    Dim onKeyRelease As Boolean
     
    Dim instance As New Keystroke(keyCode, modifiers, onKeyRelease)
    public Keystroke( 
       Keys keyCode,
       Keys modifiers,
       bool onKeyRelease
    )

    Parameters

    keyCode
    Key code defined by this keystroke
    modifiers
    Modifier keys defined by this keystroke
    onKeyRelease
    Whether the keystroke is active on key release
    See Also