Udostępnij za pośrednictwem


Expander.Expanding Event

Definition

Occurs when the content area of the Expander starts to be shown.

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

Event Type

Applies to