Partager via


ClickGestureRecognizer.SendClicked(View, ButtonsMask) Method

Definition

Runs the command for the click, if present, and invokes the click event handler when appropriate.

public:
 void SendClicked(Microsoft::Maui::Controls::View ^ sender, Microsoft::Maui::Controls::ButtonsMask buttons);
public void SendClicked (Microsoft.Maui.Controls.View sender, Microsoft.Maui.Controls.ButtonsMask buttons);
member this.SendClicked : Microsoft.Maui.Controls.View * Microsoft.Maui.Controls.ButtonsMask -> unit
Public Sub SendClicked (sender As View, buttons As ButtonsMask)

Parameters

sender
View

The object that is sending the click event.

buttons
ButtonsMask

The buttons that were involved in the click event.

Remarks

Both the command and the event are run, if present.

Applies to