Edit

CompositionExtensions.SetCondition Method

Definition

Overloads

SetCondition(CompositionConditionalValue, ExpressionNode)

Use the value of specified ExpressionNode to determine if this composition conditional value modifier should be chosen.

SetCondition(InteractionTrackerInertiaMotion, ExpressionNode)

Use the value of specified ExpressionNode to determine if this inertia modifier should be chosen.

SetCondition(InteractionTrackerInertiaRestingValue, ExpressionNode)

Use the value of specified ExpressionNode to determine if this inertia modifier should be chosen.

SetCondition(CompositionConditionalValue, ExpressionNode)

Use the value of specified ExpressionNode to determine if this composition conditional value modifier should be chosen.

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

Parameters

modifier
Microsoft.UI.Composition.Interactions.CompositionConditionalValue

The modifier.

expressionNode
ExpressionNode

The root ExpressionNode that represents the ExpressionAnimation.

Applies to

SetCondition(InteractionTrackerInertiaMotion, ExpressionNode)

Use the value of specified ExpressionNode to determine if this inertia modifier should be chosen.

public static void SetCondition(this Microsoft.UI.Composition.Interactions.InteractionTrackerInertiaMotion modifier, CommunityToolkit.WinUI.Animations.Expressions.ExpressionNode expressionNode);
static member SetCondition : Microsoft.UI.Composition.Interactions.InteractionTrackerInertiaMotion * CommunityToolkit.WinUI.Animations.Expressions.ExpressionNode -> unit
<Extension()>
Public Sub SetCondition (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

SetCondition(InteractionTrackerInertiaRestingValue, ExpressionNode)

Use the value of specified ExpressionNode to determine if this inertia modifier should be chosen.

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

Parameters

modifier
Microsoft.UI.Composition.Interactions.InteractionTrackerInertiaRestingValue

The modifier.

expressionNode
ExpressionNode

The root ExpressionNode that represents the ExpressionAnimation.

Applies to