Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions windows.ui.composition/implicitanimationcollection.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ Animations will support this.FinalValue keyword as a valid keyword to signify th

ImplicitAnimationCollection lets you add triggers which implicit animation will monitor for changes and kick off related animations as provided by the developer. ImplicitAnimationCollection supports all Visual animatable properties which are also used as target properties for animations. Target has to be defined on the animation or it will throw an exception.

```
```csharp

implicitAnimationCollection[Offset] = offsetAnimationGroup;
implicitAnimationCollection["Offset"] = offsetAnimationGroup;

```

[CompositionAnimationGroup](compositionanimationgroup.md) contains a list of [CompositionAnimation](compositionanimation.md) where they can be triggered as a single logical unit. Each [CompositionAnimation](compositionanimation.md) in the group should have the target property set.

```
```csharp

CompositionAnimationGroup.Add(opacityKeyFrameAnimation);
CompositionAnimationGroup.Insert(sizeKeyFrameAnimation);
Expand Down Expand Up @@ -132,7 +132,7 @@ class PropertyAnimation
Vector3KeyFrameAnimation animation = compositor.CreateVector3KeyFrameAnimation();
animation.InsertExpressionKeyFrame(0f, "this.StartingValue");
animation.InsertExpressionKeyFrame(1f, "this.FinalValue");
animation.Target = Offset;
animation.Target = "Offset";
animation.Duration = TimeSpan.FromSeconds(0.25);
return animation;
}
Expand Down