Freigeben über


Expander.Collapsed Ereignis

Definition

Tritt auf, wenn der Inhaltsbereich des Expanders ausgeblendet ist.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI im Windows App SDK, siehe die Windows App SDK Namespaces).

/// [Windows.Foundation.Metadata.Experimental]
/// [add: Windows.Foundation.Metadata.Experimental]
/// [remove: Windows.Foundation.Metadata.Experimental]
// 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;
// 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;
[Windows.Foundation.Metadata.Experimental]
[add: Windows.Foundation.Metadata.Experimental]
[remove: Windows.Foundation.Metadata.Experimental]
public event TypedEventHandler<Expander,ExpanderCollapsedEventArgs> Collapsed;
public event TypedEventHandler<Expander,ExpanderCollapsedEventArgs> Collapsed;
Public Custom Event Collapsed As TypedEventHandler(Of Expander, ExpanderCollapsedEventArgs) 

Ereignistyp

Attribute

Gilt für: