RectKeyFrameCollection.Add(RectKeyFrame) Method

Definition

Adds a RectKeyFrame to the end of the collection.

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

Parameters

keyFrame
RectKeyFrame

The RectKeyFrame to add to the end of the collection.

Returns

The index at which the keyFrame was added.

Applies to