共用方式為


StatusBar.Showing 事件

定義

當顯示狀態列時,就會引發此事件。

// 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) 

事件類型

適用於