UIElement.StylusButtonDown Zdarzenie
Definicja
Występuje po naciśnięciu przycisku pióra, gdy wskaźnik znajduje się nad tym elementem.Occurs when the stylus button is pressed while the pointer is over this element.
public:
virtual event System::Windows::Input::StylusButtonEventHandler ^ StylusButtonDown;
public event System.Windows.Input.StylusButtonEventHandler StylusButtonDown;
member this.StylusButtonDown : System.Windows.Input.StylusButtonEventHandler
Public Custom Event StylusButtonDown As StylusButtonEventHandler
Typ zdarzenia
Implementuje
Uwagi
To zdarzenie tworzy alias dla Stylus.StylusButtonDown dołączonego zdarzenia dla tej klasy, więc StylusButtonDown jest częścią listy składowych klasy, gdy UIElement jest dziedziczona jako element podstawowy.This event creates an alias for the Stylus.StylusButtonDown attached event for this class, so that StylusButtonDown is part of the class members list when UIElement is inherited as a base element. Programy obsługi zdarzeń dołączone do StylusButtonDown zdarzenia są dołączone do powiązanego Stylus.StylusButtonDown dołączonego zdarzenia i odbierają to samo wystąpienie danych zdarzenia.Event handlers that are attached to the StylusButtonDown event are attached to the underlying Stylus.StylusButtonDown attached event and receive the same event data instance.
W określonej relacji istnieje dotyk, mysz i dane wejściowe pióra.Touch, mouse, and stylus input exist in a particular relationship. Aby uzyskać więcej informacji, zobacz Informacje o danych wejściowych.For more information, see Input Overview.
Informacje dotyczące kierowanego zdarzeniaRouted Event Information
Pole identyfikatoraIdentifier field | StylusButtonDownEvent |
Strategia routinguRouting strategy | PropagacjaBubbling |
DelegatDelegate | StylusButtonEventHandler |
Odpowiednie zdarzenie tunelowania to PreviewStylusButtonDown .The corresponding tunneling event is PreviewStylusButtonDown.
Przesłoń OnStylusButtonDown , aby zaimplementować obsługę klasy dla tego zdarzenia w klasach pochodnych.Override OnStylusButtonDown to implement class handling for this event in derived classes.