Partilhar via


Stylus.AddPreviewStylusButtonDownHandler Método

Definição

Adiciona um manipulador ao evento anexado PreviewStylusButtonDown.

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

Parâmetros

element
DependencyObject

O UIElement ou ContentElement que escuta esse evento.

handler
StylusButtonEventHandler

O manipulador de eventos a ser adicionado.

Aplica-se a