PointerGestureRecognizer.SendPointerMoved Method
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.
Executes the associated command and raises the PointerMoved event.
public void SendPointerMoved(Microsoft.Maui.Controls.View sender, Func<Microsoft.Maui.IElement?,Microsoft.Maui.Graphics.Point?>? getPosition, Microsoft.Maui.Controls.PlatformPointerEventArgs? platformArgs = default, Microsoft.Maui.Controls.ButtonsMask button = Microsoft.Maui.Controls.ButtonsMask.Primary);
member this.SendPointerMoved : Microsoft.Maui.Controls.View * Func<Microsoft.Maui.IElement, Nullable<Microsoft.Maui.Graphics.Point>> * Microsoft.Maui.Controls.PlatformPointerEventArgs * Microsoft.Maui.Controls.ButtonsMask -> unit
Public Sub SendPointerMoved (sender As View, getPosition As Func(Of IElement, Nullable(Of Point)), Optional platformArgs As PlatformPointerEventArgs = Nothing, Optional button As ButtonsMask = Microsoft.Maui.Controls.ButtonsMask.Primary)
Parameters
- sender
- View
The view within which the pointer moved.
A function that returns the pointer position relative to a specified element.
- platformArgs
- PlatformPointerEventArgs
The platform-specific data associated with the pointer event.
- button
- ButtonsMask
The button associated with the pointer event.
Exceptions
sender is null.
Remarks
This infrastructure method is intended for gesture platform managers.