Gets a value indicating whether the SHIFT key was pressed.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property Shift As Boolean |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As KeyEventArgs
Dim value As Boolean
instance.Shift = value
value = instance.Shift |
| C# | |
|---|
public bool Shift {get; set;} |
| C++/CLI | |
|---|
public:
property bool Shift {
bool get();
void set ( bool value);
} |
Property Value
true if the SHIFT key was pressed; otherwise,
false.
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also