Partilhar via


Expander.Expanding Evento

Definição

Ocorre quando a área de conteúdo do Expander começa a ser mostrada.

Esta documentação se aplica ao WinUI 2 para UWP (para WinUI no SDK do Aplicativo Windows, consulte os namespaces SDK do Aplicativo Windows).

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

Tipo de evento

Atributos

Aplica-se a