ContentElement.OnGotTouchCapture(TouchEventArgs) Method

Definition

Fornece tratamento de classes para os eventos roteados GotTouchCapture que ocorrem quando um toque é capturado para esse elemento.Provides class handling for the GotTouchCapture routed event that occurs when a touch is captured to this element.

protected public:
 virtual void OnGotTouchCapture(System::Windows::Input::TouchEventArgs ^ e);
protected internal 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 Friend Overridable Sub OnGotTouchCapture (e As TouchEventArgs)

Parameters

e
TouchEventArgs

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

Remarks

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

Applies to