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>