Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PasswordBox.PasswordChanged Event

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Occurs when the value of the Password property changes.

// Register
event_token PasswordChanged(RoutedEventHandler const& handler) const;

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

// Revoke with event_revoker
PasswordBox::PasswordChanged_revoker PasswordChanged(auto_revoke_t, RoutedEventHandler const& handler) const;
public event RoutedEventHandler PasswordChanged;
function onPasswordChanged(eventArgs) { /* Your code */ }
passwordBox.addEventListener("passwordchanged", onPasswordChanged);
passwordBox.removeEventListener("passwordchanged", onPasswordChanged);
- or -
passwordBox.onpasswordchanged = onPasswordChanged;
Public Custom Event PasswordChanged As RoutedEventHandler 
<PasswordBox PasswordChanged="eventhandler"/>

Event Type

Applies to


Feedback

Was this page helpful?