ClickGestureRecognizer.Buttons Property
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.
Gets or sets flag values that indicate which button or buttons were clicked.
public:
property Microsoft::Maui::Controls::ButtonsMask Buttons { Microsoft::Maui::Controls::ButtonsMask get(); void set(Microsoft::Maui::Controls::ButtonsMask value); };
public Microsoft.Maui.Controls.ButtonsMask Buttons { get; set; }
member this.Buttons : Microsoft.Maui.Controls.ButtonsMask with get, set
Public Property Buttons As ButtonsMask
Property Value
Either of the Primary or Secondary flag values, or both of the values combined together.
Remarks
On a mouse used in the right hand, the left button is typically the primary button. It is the button typically under the index finger. For a mouse used in the left hand, the right button is typically the primary button.