Editar

Partilhar via


ColorKeyFrameCollection.Add(ColorKeyFrame) Method

Definition

Adds a ColorKeyFrame to the end of the collection.

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

Parameters

keyFrame
ColorKeyFrame

The ColorKeyFrame to add to the end of the collection.

Returns

The index at which the keyFrame was added.

Applies to