InteractionSourceConfiguration.PositionYSourceMode Property

Definition

Gets or sets a value that indicates how interactions are processed for this VisualInteractionSource input on the Y axis.

public:
 property InteractionSourceRedirectionMode PositionYSourceMode { InteractionSourceRedirectionMode get(); void set(InteractionSourceRedirectionMode value); };
InteractionSourceRedirectionMode PositionYSourceMode();

void PositionYSourceMode(InteractionSourceRedirectionMode value);
public InteractionSourceRedirectionMode PositionYSourceMode { get; set; }
var interactionSourceRedirectionMode = interactionSourceConfiguration.positionYSourceMode;
interactionSourceConfiguration.positionYSourceMode = interactionSourceRedirectionMode;
Public Property PositionYSourceMode As InteractionSourceRedirectionMode

Property Value

The source mode for the Y axis. By default, it takes the value of VisualInteractionTracker.PositionYSourceMode.

Remarks

This property overrides the configuration of VisualInteractionSource.PositionYSourceMode. It must be enabled to allow the VisualInteractionSource to send Y-axis data to InteractionTracker.

For more info, see VisualInteractionSource.PointerWheelConfig.

Applies to

See also

  • <xref:Windows.UI.Composition.Interactions.VisualInteractionSource.PointerWheelConfig%0aP%3aWindows.UI.Composition.Interactions.VisualInteractionSource.PositionYSourceMode>