CompositionExtensions.StartAnimation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.