InputGestureCollection.Insert Method (Int32, InputGesture)

 

Inserts the specified InputGesture into this InputGestureCollection at the specified index.

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

public void Insert(
	int index,
	InputGesture inputGesture
)

Parameters

index
Type: System.Int32

Index at which to insert inputGesture.

inputGesture
Type: System.Windows.Input.InputGesture

The gesture to insert.

Exception Condition
NotSupportedException

the collection is read-only.

NotSupportedException

inputGesture is null.

.NET Framework
Available since 3.0
Return to top
Show: