Stylus.AddPreviewStylusButtonDownHandler Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přidá obslužnou rutinu pro připojenou PreviewStylusButtonDown událost.
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)
Parametry
- element
- DependencyObject
ContentElement NeboUIElement, který naslouchá této události.
- handler
- StylusButtonEventHandler
Obslužná rutina události, která se má přidat.