Share via


VisualInteractionSource.PositionXSourceMode Property

Definition

Source mode for the X-axis.

The PositionXSourceMode property defines how interactions are processed for a VisualInteractionSource on the X-axis. There are three InteractionSourceMode types to choose from:

  • Interactions are Disabled
  • EnabledWithInertia
  • EnabledWithoutInertia

This property must be enabled to allow the VisualInteractionSource to send X-axis data to InteractionTracker.

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

void PositionXSourceMode(InteractionSourceMode value);
public InteractionSourceMode PositionXSourceMode { get; set; }
var interactionSourceMode = visualInteractionSource.positionXSourceMode;
visualInteractionSource.positionXSourceMode = interactionSourceMode;
Public Property PositionXSourceMode As InteractionSourceMode

Property Value

Source mode for the X-axis.

Applies to