Language

PointerGestureRecognizer.SendPointerExited Method

Definition

Executes the associated command and raises the PointerExited event.

public void SendPointerExited(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.SendPointerExited : Microsoft.Maui.Controls.View * Func<Microsoft.Maui.IElement, Nullable<Microsoft.Maui.Graphics.Point>> * Microsoft.Maui.Controls.PlatformPointerEventArgs * Microsoft.Maui.Controls.ButtonsMask -> unit
Public Sub SendPointerExited (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 that the pointer exited.

getPosition
Func<IElement,Nullable<Point>>

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.

Applies to