Edit

CompositionExtensions.SetMotion Method

Definition

Use the value of specified ExpressionNode to dictate the motion for this inertia modifier.

public static void SetMotion(this Microsoft.UI.Composition.Interactions.InteractionTrackerInertiaMotion modifier, CommunityToolkit.WinUI.Animations.Expressions.ExpressionNode expressionNode);
static member SetMotion : Microsoft.UI.Composition.Interactions.InteractionTrackerInertiaMotion * CommunityToolkit.WinUI.Animations.Expressions.ExpressionNode -> unit
<Extension()>
Public Sub SetMotion (modifier As InteractionTrackerInertiaMotion, expressionNode As ExpressionNode)

Parameters

modifier
Microsoft.UI.Composition.Interactions.InteractionTrackerInertiaMotion

The modifier.

expressionNode
ExpressionNode

The root ExpressionNode that represents the ExpressionAnimation.

Applies to