VisualInteractionSource.ConfigureDeltaPositionYModifiers(IEnumerable<CompositionConditionalValue>) Method

Definition

Takes an ordered list of CompositionConditionalValue. In a frame, the first CompositionConditionalValue to have its “.Condition” evaluate to true replaces the DeltaPositionY value the VisualInteractionSource provides with its “.Value”. If none evaluate to true, the DeltaPositionY is not replaced that frame.

Equivalent WinUI method: Microsoft.UI.Composition.Interactions.VisualInteractionSource.ConfigureDeltaPositionYModifiers.

public:
 virtual void ConfigureDeltaPositionYModifiers(IIterable<CompositionConditionalValue ^> ^ conditionalValues) = ConfigureDeltaPositionYModifiers;
void ConfigureDeltaPositionYModifiers(IIterable<CompositionConditionalValue> const& conditionalValues);
public void ConfigureDeltaPositionYModifiers(IEnumerable<CompositionConditionalValue> conditionalValues);
function configureDeltaPositionYModifiers(conditionalValues)
Public Sub ConfigureDeltaPositionYModifiers (conditionalValues As IEnumerable(Of CompositionConditionalValue))

Parameters

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to