OpenFin .NET API
OpenFin .NET API
Openfin.WPF
Utils Class
Utils Methods
InvokeOnUiThreadIfRequired Method
IsAlt Method
IsControl Method
IsShift Method
ToKeyCode Method
Utils
IsControl Method
Checks if the given KeyEventArgs value includes the left or right Control key.
Namespace:
Openfin.WPF
Assembly:
Openfin.WPF (in Openfin.WPF.dll) Version: 17.4.0
Syntax
C#
Copy
public
static
bool
IsControl
(
this
KeyEventArgs
args
)
Parameters
args
Type:
System.Windows.Input
KeyEventArgs
The key args.
Return Value
Type:
Boolean
true
if either Control 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