OpenFin .NET API
OpenFin .NET API
Openfin.WPF
Utils Class
Utils Methods
InvokeOnUiThreadIfRequired Method
IsAlt Method
IsControl Method
IsShift Method
ToKeyCode Method
Utils
IsShift Method
Checks if the given KeyEventArgs value includes the left or right Shift key.
Namespace:
Openfin.WPF
Assembly:
Openfin.WPF (in Openfin.WPF.dll) Version: 17.4.0
Syntax
C#
Copy
public
static
bool
IsShift
(
this
KeyEventArgs
args
)
Parameters
args
Type:
System.Windows.Input
KeyEventArgs
The key args.
Return Value
Type:
Boolean
true
if either Shift key is pressed.
false
otherwise.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
KeyEventArgs
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
Utils Class
Openfin.WPF Namespace
Copyright © 2017 OpenFin Inc
Send comments on this topic to
support@openfin.co