Share via


InteractionSourceConfiguration.PositionXSourceMode Property

Definition

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

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

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

Property Value

The source mode for the X axis. By default, it takes the value of VisualInteractionTracker.PositionXSourceMode.

Remarks

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

For more info, see VisualInteractionSource.PointerWheelConfig.

Applies to

See also