Stylus.AddStylusButtonDownHandler 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 StylusButtonDown událost.
public:
static void AddStylusButtonDownHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::StylusButtonEventHandler ^ handler);
public static void AddStylusButtonDownHandler(System.Windows.DependencyObject element, System.Windows.Input.StylusButtonEventHandler handler);
static member AddStylusButtonDownHandler : System.Windows.DependencyObject * System.Windows.Input.StylusButtonEventHandler -> unit
Public Shared Sub AddStylusButtonDownHandler (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.