GrapeCity.Xaml.SpreadSheet.UI
KeyStroke Constructor(VirtualKey,VirtualKeyModifiers,Boolean)


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

Parameters

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

Reference

KeyStroke Structure
KeyStroke Members
Overload List