VisualInteractionSource.ConfigureCenterPointYModifiers(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 zoom CenterPointY value the VisualInteractionSource provides with its “.Value”. If none evaluate to true, the CenterPointY is not replaced that frame.

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

public:
 virtual void ConfigureCenterPointYModifiers(IIterable<CompositionConditionalValue ^> ^ conditionalValues) = ConfigureCenterPointYModifiers;
void ConfigureCenterPointYModifiers(IIterable<CompositionConditionalValue> const& conditionalValues);
public void ConfigureCenterPointYModifiers(IEnumerable<CompositionConditionalValue> conditionalValues);
function configureCenterPointYModifiers(conditionalValues)
Public Sub ConfigureCenterPointYModifiers (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