共用方式為


VisualInteractionSource.ScaleSourceMode 屬性

定義

定義縮放軸上 VisualInteractionSource 的互動處理方式。 有三種 InteractionSourceMode 類型可供選擇:

  • Disabled
  • EnabledWithInertia
  • EnabledWithoutInertia

必須啟用這個屬性,才能讓 VisualInteractionSource 將縮放資料傳送至 InteractionTracker

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

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

屬性值

縮放軸的來源模式。

適用於