TapGestureRecognizer.SendTapped 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 Tapped event.
public void SendTapped(Microsoft.Maui.Controls.View sender, Func<Microsoft.Maui.IElement?,Microsoft.Maui.Graphics.Point?>? getPosition = default);
member this.SendTapped : Microsoft.Maui.Controls.View * Func<Microsoft.Maui.IElement, Nullable<Microsoft.Maui.Graphics.Point>> -> unit
Public Sub SendTapped (sender As View, Optional getPosition As Func(Of IElement, Nullable(Of Point)) = Nothing)
Parameters
- sender
- View
The view on which the tap gesture was recognized.
A function that returns the tap position relative to a specified element.
Exceptions
sender is null.
Remarks
This infrastructure method is intended for gesture platform managers.