diff --git a/windows.ui.composition/implicitanimationcollection.md b/windows.ui.composition/implicitanimationcollection.md index fc4365def..03d8f0d98 100644 --- a/windows.ui.composition/implicitanimationcollection.md +++ b/windows.ui.composition/implicitanimationcollection.md @@ -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); @@ -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; }