UIElement.StylusEnter Evento
Definición
Se produce cuando el lápiz entra dentro de los límites de este elemento.Occurs when the stylus enters the bounds of this element.
public:
virtual event System::Windows::Input::StylusEventHandler ^ StylusEnter;
public event System.Windows.Input.StylusEventHandler StylusEnter;
member this.StylusEnter : System.Windows.Input.StylusEventHandler
Public Custom Event StylusEnter As StylusEventHandler
Tipo de evento
Implementaciones
Comentarios
StylusEnter es un evento enrutado que usa la estrategia de enrutamiento de control directo de eventos.StylusEnter is a routed event that uses the direct event handling routing strategy. Los eventos enrutados directos no se generan a lo largo de una ruta. en su lugar, se administran en el mismo elemento donde se generan.Direct routed events are not raised along a route; instead, they are handled in the same element where they are raised. Sin embargo, habilitan otros aspectos del comportamiento de los eventos enrutados, como los desencadenadores de eventos en los estilos.However, they do enable other aspects of routed event behavior, such as event triggers in styles.
Aunque StylusEnter realiza un seguimiento de Cuándo el lápiz entra en los límites de un elemento, este evento informa más literalmente de que el valor de la IsStylusOver propiedad ha cambiado de false
a true
en este elemento.Although StylusEnter tracks when the stylus enters the bounds of an element, this event more literally reports that the IsStylusOver property value has changed from false
to true
on this element.
Este evento crea un alias para el Stylus.StylusEnter evento adjunto para esta clase, por lo que forma StylusEnter parte de la lista de miembros de clase cuando UIElement se hereda como un elemento base.This event creates an alias for the Stylus.StylusEnter attached event for this class, so that StylusEnter is part of the class members list when UIElement is inherited as a base element. Los controladores de eventos adjuntos al StylusEnter evento se adjuntan al Stylus.StylusEnter evento adjunto subyacente y reciben la misma instancia de datos de evento.Event handlers that are attached to the StylusEnter event are attached to the underlying Stylus.StylusEnter attached event and receive the same event data instance.
La entrada táctil, del mouse y del lápiz se encuentra en una relación determinada.Touch, mouse, and stylus input exist in a particular relationship. Para obtener más información, vea Introducción a la entrada.For more information, see Input Overview.
Información sobre eventos enrutadosRouted Event Information
Campo de identificadorIdentifier field | StylusEnterEvent |
Estrategia de enrutamientoRouting strategy | DirectoDirect |
DelegadoDelegate | StylusEventHandler |
- Invalide OnStylusEnter para implementar el control de clases para este evento en las clases derivadas.Override OnStylusEnter to implement class handling for this event in derived classes.