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.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈