共用方式為


PointerGestureRecognizer.PointerPressed 事件

定義

當指標在檢視內起始按下時引發。

public:
 event EventHandler<Microsoft::Maui::Controls::PointerEventArgs ^> ^ PointerPressed;
public event EventHandler<Microsoft.Maui.Controls.PointerEventArgs>? PointerPressed;
member this.PointerPressed : EventHandler<Microsoft.Maui.Controls.PointerEventArgs> 
Public Event PointerPressed As EventHandler(Of PointerEventArgs) 

事件類型

適用於