Spread WPF Documentation
KeyStroke Constructor(Key,ModifierKeys,Boolean)


GrapeCity.Windows.SpreadSheet.UI Namespace > KeyStroke Structure > KeyStroke Constructor : KeyStroke Constructor(Key,ModifierKeys,Boolean)
The key code defined by this KeyStroke structure.
The modifier keys defined by this KeyStroke structure.
A value that indicates whether the KeyStroke is active on the key release.
Initializes a new instance of the KeyStroke structure with the specified System.Windows.Input.Key, System.Windows.Input.ModifierKeys, and a value that indicates whether this KeyStroke is active on the key release.
Syntax
'Declaration
 
Public Function New( _
   ByVal keyCode As System.Windows.Input.Key, _
   ByVal modifiers As System.Windows.Input.ModifierKeys, _
   ByVal onKeyRelease As System.Boolean _
)
'Usage
 
Dim keyCode As System.Windows.Input.Key
Dim modifiers As System.Windows.Input.ModifierKeys
Dim onKeyRelease As System.Boolean
 
Dim instance As New KeyStroke(keyCode, modifiers, onKeyRelease)
public KeyStroke( 
   System.Windows.Input.Key keyCode,
   System.Windows.Input.ModifierKeys modifiers,
   System.bool onKeyRelease
)

Parameters

keyCode
The key code defined by this KeyStroke structure.
modifiers
The modifier keys defined by this KeyStroke structure.
onKeyRelease
A value that indicates whether the KeyStroke is active on the key release.
See Also

Reference

KeyStroke Structure
KeyStroke Members
Overload List