Spread Silverlight Documentation
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.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

KeyStroke Structure
KeyStroke Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.