ContentElement.OnTouchLeave(TouchEventArgs) Method


Fornece tratamento de classe para o evento roteado TouchLeave que ocorre quando um toque é movido de dentro para fora dos limites deste elemento.Provides class handling for the TouchLeave routed event that occurs when a touch moves from inside to outside the bounds of this element.

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



Um TouchEventArgs que contém os dados do evento.A TouchEventArgs that contains the event data.


O método OnTouchLeave não tem implementação padrão.The OnTouchLeave method has no default implementation. Substitua OnTouchLeave em uma classe derivada para manipular o evento TouchLeave.Override OnTouchLeave in a derived class to handle the TouchLeave event. Certifique-se de chamar o método de classe base ' OnTouchLeave ' para que as classes base recebam o evento.Be sure to call the base class' OnTouchLeave method so that base classes receive the event.

Applies to