共用方式為


FlyoutBase.Opening 事件

定義

發生于顯示飛出視窗之前。

// Register
event_token Opening(EventHandler<IInspectable> const& handler) const;

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

// Revoke with event_revoker
FlyoutBase::Opening_revoker Opening(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public event System.EventHandler<object> Opening;
function onOpening(eventArgs) { /* Your code */ }
flyoutBase.addEventListener("opening", onOpening);
flyoutBase.removeEventListener("opening", onOpening);
- or -
flyoutBase.onopening = onOpening;
Public Custom Event Opening As EventHandler(Of Object) 
<flyout Opening="eventhandler"/>

事件類型

適用於