다음을 통해 공유


Expander.Collapsed 이벤트

정의

Expander의 콘텐츠 영역을 숨길 때 발생합니다.

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

이벤트 유형

적용 대상