ColorKeyFrameCollection.Add(ColorKeyFrame) Metod

Definition

Lägger till en ColorKeyFrame i slutet av samlingen.

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

Parametrar

keyFrame
ColorKeyFrame

Att ColorKeyFrame lägga till i slutet av samlingen.

Returer

Indexet där lades keyFrame till.

Gäller för