UIElement.OnTouchDown(TouchEventArgs) UIElement.OnTouchDown(TouchEventArgs) UIElement.OnTouchDown(TouchEventArgs) UIElement.OnTouchDown(TouchEventArgs) Method

Definición

Proporciona control de clases para el evento enrutado TouchDown que se produce cuando una entrada táctil presiona dentro de este elemento.Provides class handling for the TouchDown routed event that occurs when a touch presses inside this element.

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

Parámetros

e
TouchEventArgs TouchEventArgs TouchEventArgs TouchEventArgs

Objeto TouchEventArgs que contiene los datos del evento.A TouchEventArgs that contains the event data.

Comentarios

El OnTouchDown método no tiene ninguna implementación predeterminada.The OnTouchDown method has no default implementation. Invalidar OnTouchDown en una clase derivada para controlar la TouchDown eventos.Override OnTouchDown in a derived class to handle the TouchDown event. No olvide llamar a la clase base OnTouchDown método para que las clases base reciban el evento.Be sure to call the base class' OnTouchDown method so that base classes receive the event.

Se aplica a