Este artigo foi traduzido por máquina. Para visualizar o arquivo em inglês, marque a caixa de seleção Inglês. Você também pode exibir o texto Em inglês em uma janela pop-up, movendo o ponteiro do mouse sobre o texto.
Tradução
Inglês

Mouse.MouseLeave Evento Anexado

 

Ocorre quando o ponteiro do mouse deixa os limites de um elemento.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (em PresentationCore.dll)

See AddMouseLeaveHandler, RemoveMouseLeaveHandler

This is an attached event. TLA2#tla_winclient implements attached events as routed events. Attached events are fundamentally a TLA2#tla_xaml language concept for referencing events that can be handled on objects that do not define that event, which TLA2#tla_winclient expands upon by also enabling the event to traverse a route. Attached events do not have a direct handling syntax in code; to attach handlers for a routed event in code, you use a designated Add*Handler method. For details, see Attached Events Overview.

This event uses the direct event handling routing strategy. Direct routed events do not follow a route (they are only handled in the same element on which they are raised). They do, however, enable other aspects of routed event behaviors, such as event triggers in styles.

Although this event is used to track when the mouse leaves an element, it is also reporting that the P:System.Windows.UIElement.IsMouseOver property value has changed from true to false on this element.

Identifier field

MouseLeaveEvent

Routing strategy

Direct

Delegate

MouseEventHandler

Retornar ao início
Mostrar: