StatusBar.Showing 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當顯示狀態列時,就會引發此事件。
// Register
event_token Showing(TypedEventHandler<StatusBar, IInspectable const&> const& handler) const;
// Revoke with event_token
void Showing(event_token const* cookie) const;
// Revoke with event_revoker
StatusBar::Showing_revoker Showing(auto_revoke_t, TypedEventHandler<StatusBar, IInspectable const&> const& handler) const;
public event TypedEventHandler<StatusBar,object> Showing;
function onShowing(eventArgs) { /* Your code */ }
statusBar.addEventListener("showing", onShowing);
statusBar.removeEventListener("showing", onShowing);
- or -
statusBar.onshowing = onShowing;
Public Custom Event Showing As TypedEventHandler(Of StatusBar, Object)
事件類型
TypedEventHandler<StatusBar,IInspectable>