Compartilhar via


Stylus.AddPreviewStylusDownHandler Método

Definição

Adiciona um manipulador ao evento anexado PreviewStylusDown.

public:
 static void AddPreviewStylusDownHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::StylusDownEventHandler ^ handler);
public static void AddPreviewStylusDownHandler (System.Windows.DependencyObject element, System.Windows.Input.StylusDownEventHandler handler);
static member AddPreviewStylusDownHandler : System.Windows.DependencyObject * System.Windows.Input.StylusDownEventHandler -> unit
Public Shared Sub AddPreviewStylusDownHandler (element As DependencyObject, handler As StylusDownEventHandler)

Parâmetros

element
DependencyObject

O UIElement ou ContentElement que escuta esse evento.

handler
StylusDownEventHandler

O manipulador de eventos a ser adicionado.

Aplica-se a