InputGestureCollection.Contains Method (InputGesture)

 

Determines whether the specified InputGesture is in the collection.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public bool Contains(
	InputGesture key
)

Parameters

key
Type: System.Windows.Input.InputGesture

The gesture to locate in the collection.

Return Value

Type: System.Boolean

true if the gesture is in the collection; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show: