UIElement.StylusButtonDown Событие
Определение
Происходит при нажатии кнопки пера в тот момент, когда указатель находится над данным элементом.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
Реализации
Комментарии
Это событие создает псевдоним для Stylus.StylusButtonDown присоединенного события для этого класса, поэтому StylusButtonDown является частью списка членов класса, когда UIElement наследуется как базовый элемент.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. Обработчики событий, присоединенные к событию StylusButtonDown, присоединяются к базовому Stylus.StylusButtonDown присоединенному событию и получают тот же экземпляр данных события.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.
Ввод с помощью сенсорного ввода, мыши и пера существует в определенной связи.Touch, mouse, and stylus input exist in a particular relationship. Дополнительные сведения см. в разделе Общие сведения о входных данных.For more information, see Input Overview.
Сведения о маршрутизируемом событииRouted Event Information
Поле идентификатораIdentifier field | StylusButtonDownEvent |
Стратегия маршрутизацииRouting strategy | Восходящей маршрутизацииBubbling |
делегатDelegate | StylusButtonEventHandler |
Соответствующее событие туннелирования — PreviewStylusButtonDown.The corresponding tunneling event is PreviewStylusButtonDown.
Переопределите OnStylusButtonDown, чтобы реализовать обработку класса для этого события в производных классах.Override OnStylusButtonDown to implement class handling for this event in derived classes.