InteractionSourceConfiguration.ScaleSourceMode 屬性

定義

取得或設定值,這個值表示縮放軸上這個 VisualInteractionSource 輸入的互動處理方式。

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

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

屬性值

縮放軸的來源模式。 根據預設,它會接受 VisualInteractionTracker.ScaleSourceMode 的值

備註

此屬性會覆寫 VisualInteractionSource.ScaleSourceMode的組態。 它必須啟用,才能讓 VisualInteractionSource 將縮放資料傳送至 InteractionTracker

如需詳細資訊,請參閱 VisualInteractionSource.PointerWheelConfig

適用於

另請參閱

  • <xref:Microsoft.UI.Composition.Interactions.VisualInteractionSource.PointerWheelConfig%0aP%3aMicrosoft.UI.Composition.Interactions.VisualInteractionSource.ScaleSourceMode>