DecimalKeyFrameCollection.Add(DecimalKeyFrame) Method

Definition

Adds a DecimalKeyFrame to the end of the collection.

public:
 int Add(System::Windows::Media::Animation::DecimalKeyFrame ^ keyFrame);
public int Add (System.Windows.Media.Animation.DecimalKeyFrame keyFrame);
member this.Add : System.Windows.Media.Animation.DecimalKeyFrame -> int
Public Function Add (keyFrame As DecimalKeyFrame) As Integer

Parameters

keyFrame
DecimalKeyFrame

The DecimalKeyFrame to add to the end of the collection.

Returns

The index at which the keyFrame was added.

Applies to