InputGestureCollection.IndexOf Method (InputGesture)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Searches for the first occurrence of the specified InputGesture in this InputGestureCollection.

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

public int IndexOf(
	InputGesture value
)

Parameters

value
Type: System.Windows.Input.InputGesture

The gesture to locate in the collection.

Return Value

Type: System.Int32

The index of the first occurrence of value, if found; otherwise, -1.

.NET Framework
Available since 3.0
Return to top
Show: