InteractionSourceConfiguration.PositionYSourceMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates how interactions are processed for this VisualInteractionSource input on the Y axis.
public:
property InteractionSourceRedirectionMode PositionYSourceMode { InteractionSourceRedirectionMode get(); void set(InteractionSourceRedirectionMode value); };
InteractionSourceRedirectionMode PositionYSourceMode();
void PositionYSourceMode(InteractionSourceRedirectionMode value);
public InteractionSourceRedirectionMode PositionYSourceMode { get; set; }
var interactionSourceRedirectionMode = interactionSourceConfiguration.positionYSourceMode;
interactionSourceConfiguration.positionYSourceMode = interactionSourceRedirectionMode;
Public Property PositionYSourceMode As InteractionSourceRedirectionMode
Property Value
The source mode for the Y axis. By default, it takes the value of VisualInteractionTracker.PositionYSourceMode.
Remarks
This property overrides the configuration of VisualInteractionSource.PositionYSourceMode. It must be enabled to allow the VisualInteractionSource to send Y-axis 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.PositionYSourceMode>