Hyperlink.LostFocus 事件

定义

超链接 失去焦点时发生。

// Register
event_token LostFocus(RoutedEventHandler const& handler) const;

// Revoke with event_token
void LostFocus(event_token const* cookie) const;

// Revoke with event_revoker
Hyperlink::LostFocus_revoker LostFocus(auto_revoke_t, RoutedEventHandler const& handler) const;
public event RoutedEventHandler LostFocus;
function onLostFocus(eventArgs) { /* Your code */ }
hyperlink.addEventListener("lostfocus", onLostFocus);
hyperlink.removeEventListener("lostfocus", onLostFocus);
- or -
hyperlink.onlostfocus = onLostFocus;
Public Custom Event LostFocus As RoutedEventHandler 
<Hyperlink LostFocus="eventhandler"/>

事件类型

注解

有关详细信息,请参阅 UIElement.LostFocus

适用于

另请参阅