共用方式為


ClickedEventArgs(ButtonsMask, Object) Constructor

Definition

Creates a new ClickedEventArgs with the specified values.

public:
 ClickedEventArgs(Microsoft::Maui::Controls::ButtonsMask buttons, System::Object ^ commandParameter);
public ClickedEventArgs (Microsoft.Maui.Controls.ButtonsMask buttons, object commandParameter);
new Microsoft.Maui.Controls.ClickedEventArgs : Microsoft.Maui.Controls.ButtonsMask * obj -> Microsoft.Maui.Controls.ClickedEventArgs
Public Sub New (buttons As ButtonsMask, commandParameter As Object)

Parameters

buttons
ButtonsMask

The button or buttons that were pressed.

commandParameter
Object

The command parameter.

Applies to