Expander.Collapsed Evento

Definición

Se produce cuando el área de contenido del expansivo está oculta.

Esta documentación se aplica a WinUI 2 para UWP (para WinUI en la SDK de Aplicaciones para Windows, consulta los espacios de nombres SDK de Aplicaciones para Windows).

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

Tipo de evento

Atributos

Se aplica a