Intersoft ClientUI Documentation
Matches Method
See Also  Send Feedback
Intersoft.Client.Framework.Input Namespace > InputGesture Class : Matches Method






targetElement
inputEventArgs
When overridden in a derived class, determines whether the specified InputGesture matches the input associated with the specified InputEventArgs object.

Syntax

Visual Basic (Declaration) 
Public MustOverride Function Matches( _
   ByVal targetElement As Object, _
   ByVal inputEventArgs As RoutedEventArgs _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As InputGesture
Dim targetElement As Object
Dim inputEventArgs As RoutedEventArgs
Dim value As Boolean
 
value = instance.Matches(targetElement, inputEventArgs)
C# 
public abstract bool Matches( 
   object targetElement,
   RoutedEventArgs inputEventArgs
)
Delphi 
public function Matches( 
    targetElement: TObject;
    inputEventArgs: RoutedEventArgs
): Boolean; abstract; 
JScript 
public __abstract function Matches( 
   targetElement : Object,
   inputEventArgs : RoutedEventArgs
) : boolean;
Managed Extensions for C++ 
public: abstract bool Matches( 
   Object* targetElement,
   RoutedEventArgs* inputEventArgs
) 
C++/CLI 
public:
abstract bool Matches( 
   Object^ targetElement,
   RoutedEventArgs^ inputEventArgs
) 

Parameters

targetElement
inputEventArgs

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.