VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / CompositeInputGesture Class / Matches(Object,InputEventArgs) Method
Syntax Requirements SeeAlso
In This Topic
    Matches(Object,InputEventArgs) Method (CompositeInputGesture)
    In This Topic
    Determines whether the specified CompositeInputGesture 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
    )
    public: bool Matches(
    System.Object targetElement,
    System.Windows.Input.InputEventArgs* inputEventArgs
    ); override
    public:
    bool Matches(
    System.Object targetElement,
    System.Windows.Input.InputEventArgs^ inputEventArgs
    ); override

    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 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also