Edit

CompositionExtensions.StartAnimation Method

Definition

Connects the specified ExpressionNode with the specified property of the object.

public static void StartAnimation(this Microsoft.UI.Composition.CompositionObject compObject, string propertyName, CommunityToolkit.WinUI.Animations.Expressions.ExpressionNode expressionNode);
static member StartAnimation : Microsoft.UI.Composition.CompositionObject * string * CommunityToolkit.WinUI.Animations.Expressions.ExpressionNode -> unit
<Extension()>
Public Sub StartAnimation (compObject As CompositionObject, propertyName As String, expressionNode As ExpressionNode)

Parameters

compObject
Microsoft.UI.Composition.CompositionObject

The comp object.

propertyName
String

The name of the property that the expression will target.

expressionNode
ExpressionNode

The root ExpressionNode that represents the ExpressionAnimation.

Applies to