ExpFocusObserver.GotFocus Event

Definition

// Register
event_token GotFocus(TypedEventHandler<ExpFocusObserver, ExpFocusChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
ExpFocusObserver::GotFocus_revoker GotFocus(auto_revoke_t, TypedEventHandler<ExpFocusObserver, ExpFocusChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<ExpFocusObserver,ExpFocusChangedEventArgs> GotFocus;
function onGotFocus(eventArgs) { /* Your code */ }
expFocusObserver.addEventListener("gotfocus", onGotFocus);
expFocusObserver.removeEventListener("gotfocus", onGotFocus);
- or -
expFocusObserver.ongotfocus = onGotFocus;
Public Custom Event GotFocus As TypedEventHandler(Of ExpFocusObserver, ExpFocusChangedEventArgs) 

Event Type

Applies to