CoreComponentInputSource.LostFocus Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raised when a hosted XAML element loses focus.
// Register
event_token LostFocus(TypedEventHandler<IInspectable, CoreWindowEventArgs const&> const& handler) const;
// Revoke with event_token
void LostFocus(event_token const* cookie) const;
// Revoke with event_revoker
CoreComponentInputSource::LostFocus_revoker LostFocus(auto_revoke_t, TypedEventHandler<IInspectable, CoreWindowEventArgs const&> const& handler) const;
public event TypedEventHandler<object,CoreWindowEventArgs> LostFocus;
function onLostFocus(eventArgs) { /* Your code */ }
coreComponentInputSource.addEventListener("lostfocus", onLostFocus);
coreComponentInputSource.removeEventListener("lostfocus", onLostFocus);
- or -
coreComponentInputSource.onlostfocus = onLostFocus;
Public Custom Event LostFocus As TypedEventHandler(Of Object, CoreWindowEventArgs)
Event Type
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro