Share via


UIElement.OnGotTouchCapture(TouchEventArgs) Metode

Definisi

Menyediakan penanganan kelas untuk GotTouchCapture peristiwa rute yang terjadi ketika sentuhan diambil ke elemen ini.

protected:
 virtual void OnGotTouchCapture(System::Windows::Input::TouchEventArgs ^ e);
protected virtual void OnGotTouchCapture (System.Windows.Input.TouchEventArgs e);
abstract member OnGotTouchCapture : System.Windows.Input.TouchEventArgs -> unit
override this.OnGotTouchCapture : System.Windows.Input.TouchEventArgs -> unit
Protected Overridable Sub OnGotTouchCapture (e As TouchEventArgs)

Parameter

e
TouchEventArgs

TouchEventArgs yang berisi data peristiwa.

Keterangan

Metode OnGotTouchCapture ini tidak memiliki implementasi default. Ambil alih OnGotTouchCapture di kelas turunan untuk menangani GotTouchCapture peristiwa. Pastikan untuk memanggil metode kelas OnGotTouchCapture dasar sehingga kelas dasar menerima peristiwa.

Berlaku untuk