Udostępnij za pośrednictwem


VisualInteractionSource.PositionYSourceMode Property

Definition

Source mode for the Y-axis.

The PositionYSourceMode property defines how interactions are processed for a VisualInteractionSource on the Y-axis. There are 3 types of InteractionSourceModes to choose from: Interactions are Disabled, EnabledWithInertia and EnabledWithoutInertia. This property must be enabled to allow the VisualInteractionSource to send Y-axis data to InteractionTracker.

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

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

Property Value

Source mode for the Y-axis.

Applies to