VintaSoft Imaging .NET SDK 15.2: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / DynamicKeyGesture Class / Matches(Object,InputEventArgs) Method
Syntax Requirements SeeAlso
In This Topic
Matches(Object,InputEventArgs) Method (DynamicKeyGesture)
In This Topic
Determines whether the specified DynamicKeyGesture matches the input associated with the specified System.Windows.Input.InputEventArgs object.
Syntax
'Declaration

Public Overrides Function Matches( _
ByVal targetElement
The target of the command.
As System.Object, _
ByVal inputEventArgs
The input event data to compare this gesture to.
As System.Windows.Input.InputEventArgs _
) As Boolean
public override bool Matches(
System.Object targetElement,
System.Windows.Input.InputEventArgs inputEventArgs
)

Parameters

targetElement
The target of the command.
inputEventArgs
The input event data to compare this gesture to.

Return Value

True if the gesture matches the input; otherwise, false.
Requirements

Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also