VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI.VisualTools Namespace / WpfCompositeVisualToolInputGesture Class / Matches(Object,InputEventArgs) Method
Syntax Requirements SeeAlso
In This Topic
Matches(Object,InputEventArgs) Method (WpfCompositeVisualToolInputGesture)
In This Topic
Matches the specified target element.
Syntax
'Declaration

Public Overrides Function Matches( _
ByVal targetElement
The target element.
As System.Object, _
ByVal inputEventArgs
The System.Windows.Input.InputEventArgs instance containing the event data.
As System.Windows.Input.InputEventArgs _
) As Boolean
public override bool Matches(
System.Object targetElement,
System.Windows.Input.InputEventArgs inputEventArgs
)

Parameters

targetElement
The target element.
inputEventArgs
The System.Windows.Input.InputEventArgs instance containing the event data.

Return Value

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

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

See Also