InteractionSourceConfiguration.ScaleSourceMode Property

Definition

Gets or sets a value that indicates how interactions are processed for this VisualInteractionSource input on the scale axis.

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

Property Value

The source mode for the scale axis. By default, it takes the value of VisualInteractionTracker.ScaleSourceMode.

Remarks

This property overrides the configuration of VisualInteractionSource.ScaleSourceMode. It must be enabled to allow the VisualInteractionSource to send scale data to InteractionTracker.

For more info, see VisualInteractionSource.PointerWheelConfig.

Applies to

See also

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