VisualInteractionSource.PositionYSourceMode 屬性

定義

Y 軸的來源模式。

PositionYSourceMode 屬性會定義 Y 軸上 VisualInteractionSource 的互動處理方式。 有 3 種類型的 InteractionSourceMode可供選擇:互動為 Disabled、EnabledWithInertia 和 EnabledWithoutInertia。 必須啟用這個屬性,才能讓 VisualInteractionSource 將 Y 軸資料傳送至 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

屬性值

Y 軸的來源模式。

適用於