ColorKeyFrameCollection.Insert(Int32, ColorKeyFrame) Method

Definition

Inserts a ColorKeyFrame into a specific location within the collection.

public:
 void Insert(int index, System::Windows::Media::Animation::ColorKeyFrame ^ keyFrame);
public void Insert (int index, System.Windows.Media.Animation.ColorKeyFrame keyFrame);
member this.Insert : int * System.Windows.Media.Animation.ColorKeyFrame -> unit
Public Sub Insert (index As Integer, keyFrame As ColorKeyFrame)

Parameters

index
Int32

The index position at which the ColorKeyFrame is inserted.

keyFrame
ColorKeyFrame

The ColorKeyFrame object to insert in the collection.

Applies to