VisualInteractionSource.ConfigureCenterPointXModifiers(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 CenterPointX value the VisualInteractionSource provides with its “.Value”. If none evaluate to true, the CenterPointX is not replaced that frame. Equivalent WinUI method: Microsoft.UI.Composition.Interactions.VisualInteractionSource.ConfigureCenterPointXModifiers.

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