共用方式為


CoreTextEditContext.FocusRemoved 事件

定義

發生于強制從文字輸入控制項移除焦點時。 應用程式應該處理此事件,以據以移除文字輸入控制項的焦點。

// Register
event_token FocusRemoved(TypedEventHandler<CoreTextEditContext, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
CoreTextEditContext::FocusRemoved_revoker FocusRemoved(auto_revoke_t, TypedEventHandler<CoreTextEditContext, IInspectable const&> const& handler) const;
public event TypedEventHandler<CoreTextEditContext,object> FocusRemoved;
function onFocusRemoved(eventArgs) { /* Your code */ }
coreTextEditContext.addEventListener("focusremoved", onFocusRemoved);
coreTextEditContext.removeEventListener("focusremoved", onFocusRemoved);
- or -
coreTextEditContext.onfocusremoved = onFocusRemoved;
Public Custom Event FocusRemoved As TypedEventHandler(Of CoreTextEditContext, Object) 

事件類型

適用於