共用方式為


Expander.Expanding 事件

定義

發生於 展開工具 的內容區域開始顯示時。

// Register
event_token Expanding(TypedEventHandler<Expander, ExpanderExpandingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
Expander::Expanding_revoker Expanding(auto_revoke_t, TypedEventHandler<Expander, ExpanderExpandingEventArgs const&> const& handler) const;
public event TypedEventHandler<Expander,ExpanderExpandingEventArgs> Expanding;
function onExpanding(eventArgs) { /* Your code */ }
expander.addEventListener("expanding", onExpanding);
expander.removeEventListener("expanding", onExpanding);
- or -
expander.onexpanding = onExpanding;
Public Custom Event Expanding As TypedEventHandler(Of Expander, ExpanderExpandingEventArgs) 

事件類型

適用於