Compartilhar via


PasswordBox.PasswordChanging Evento

Definição

Ocorre de forma síncrona quando o texto na caixa de senha começa a ser alterado, mas antes de ser renderizado.

// Register
event_token PasswordChanging(TypedEventHandler<PasswordBox, PasswordBoxPasswordChangingEventArgs const&> const& handler) const;

// Revoke with event_token
void PasswordChanging(event_token const* cookie) const;

// Revoke with event_revoker
PasswordBox::PasswordChanging_revoker PasswordChanging(auto_revoke_t, TypedEventHandler<PasswordBox, PasswordBoxPasswordChangingEventArgs const&> const& handler) const;
public event TypedEventHandler<PasswordBox,PasswordBoxPasswordChangingEventArgs> PasswordChanging;
function onPasswordChanging(eventArgs) { /* Your code */ }
passwordBox.addEventListener("passwordchanging", onPasswordChanging);
passwordBox.removeEventListener("passwordchanging", onPasswordChanging);
- or -
passwordBox.onpasswordchanging = onPasswordChanging;
Public Custom Event PasswordChanging As TypedEventHandler(Of PasswordBox, PasswordBoxPasswordChangingEventArgs) 
<PasswordBox PasswordChanging="eventhandler"/>

Tipo de evento

Requisitos do Windows

Família de dispositivos
Windows 10 Fall Creators Update (introduzida na 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v5.0)

Aplica-se a

Confira também