Expander.Collapsed Event
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
// Register
event_token Collapsed(TypedEventHandler<Expander, ExpanderCollapsedEventArgs const&> const& handler) const;
// Revoke with event_token
void Collapsed(event_token const* cookie) const;
// Revoke with event_revoker
Expander::Collapsed_revoker Collapsed(auto_revoke_t, TypedEventHandler<Expander, ExpanderCollapsedEventArgs const&> const& handler) const;
public event TypedEventHandler<Expander,ExpanderCollapsedEventArgs> Collapsed;
function onCollapsed(eventArgs) { /* Your code */ }
expander.addEventListener("collapsed", onCollapsed);
expander.removeEventListener("collapsed", onCollapsed);
- or -
expander.oncollapsed = onCollapsed;
Public Custom Event Collapsed As TypedEventHandler(Of Expander, ExpanderCollapsedEventArgs)
Product | Versions |
---|---|
Windows App SDK | 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |